What's the best way to find out if a file exists?

Alex Rice alrice at ARCplanning.com
Fri Mar 21 13:53:01 EST 2003


On Friday, March 21, 2003, at 04:08  PM, Graham Samuel wrote:
>  if exists(file someFilePath) then
>    do something
>  else
>    do something else
>  end if

See "there is a" operator, which works with files and folders in 
addition to objects.



Alex Rice, Software Developer
Architectural Research Consultants, Inc.
alrice at ARCplanning.com
alrice at swcp.com





More information about the use-livecode mailing list