What's the syntax to check if a local folder exists?
bobs at twft.com
Tue Jun 7 11:44:22 EDT 2011
You can say "there is not"?? Well I'll be damned!
On Jun 7, 2011, at 7:37 AM, Keith Clarke wrote:
> Great, thanks to all who responded!
> Blindingly obvious once viewed with hindsight - and as Colin rightly suggests, it seems 'there is' still much I need to learn about the subtleties of the LiveCode syntax! ;-)
> I went for a matching pair of one-liners, which worked very nicely:
> if there is not a folder "this_folder" then create folder "this_folder"
> if there is not a folder "this_folder/that_subfolder" then create folder "this_folder/that_subfolder"
> On 7 Jun 2011, at 15:16, Keith Clarke wrote:
>> Hi folks,
>> I've tried to check if a folder 'is empty' or 'is not true' but I'm obviously missing the magic word - and I know it's not 'please', as LiveCode ignores all my pleading! ;-)
>> Why do I get the feeling it's another one of those 'obvious as soon as you know it' things(?)
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode