What's the syntax to check if a local folder exists?

Klaus on-rev klaus at major.on-rev.com
Tue Jun 7 10:23:24 EDT 2011


Hi Keith,

Am 07.06.2011 um 16:16 schrieb Keith Clarke:

> 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(?)

...
if there is a folder "your/folder/path/here" then
  ## Exists
  else
  ## not
end if
...

:-)

> Best,
> Keith..  

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com





More information about the use-livecode mailing list