Re: Existence

new topic     » goto parent     » topic index » view thread      » older message » newer message

On 29 Mar 2002, at 22:52, Robsz2 at aol.com wrote:

> 
> --part1_3f.90c8408.29d69088_boundary
> Content-Type: text/html; charset="US-ASCII"
> Content-Transfer-Encoding: 7bit
> 
> <HTML>
> <PRE>============ The Euphoria Mailing List ============ 
> </PRE>
> 
> <FONT FACE=arial,helvetica><FONT  SIZE=2>Hello.
> <BR>
> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A quick question:
> <BR>
> <BR>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;How
> do I check the existence of a file?</FONT>

Either try to open it with open(), or read the directory with dir() to see if it
is
there. If it isn't there, open() will give an error. If it isn't there, dir()
won't list it.

Kat

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu