# $EPIC: fexist.txt,v 1.4 2008/05/28 19:46:15 jnelson Exp $
$fexist(<file>)
$fexist("" <file>)
This function is used when you want to see if a particular file exists. This could be useful to make sure a file is present before trying to load it. This function does not return 0!
-1 file does not exist or is not readable by you. 1 file exists and you can read it.
$fexist(/etc/passwd) probably will return 1 $fexist(~/.ircrc) probably will return 1 too $fexist(fake_file) returns -1
This function first appeared in EPIC3pre7.