'nother noobie ?

Phil Davis davis.phil at comcast.net
Sat Jun 10 20:28:18 EDT 2006


This should do it:

  if there is a file <yourFileName> then...

Phil Davis


Todd Geist wrote:

> Hi,
>
> This is probably really simple, but I can't figure it out.
>
> I want to test if a file exists on the disk.  So given the path
>
>      "/Users/toddgeist/Documents/My Revolution Studio/myfile.txt"
>
> How do I tell if it is there or not? I tried a few permutations of
>
>   exists("/Users/toddgeist/Documents/My Revolution Studio/myfile.txt")
>
> to no avail  :<(
>
> any clues?
>
> TIA
>
> Todd
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list