|
Contents | Previous | Next | Subchapters |
| Syntax |
exists(file) |
| See Also | isdir , rmfile , mvfile , fullpath |
exists("C:\AUTOEXEC.BAT")
O-Matrix will respond
T
If file does not include a path,
the exists function will look for file in the current directory.
The commands
if exists("TEMP.TMP") then rmfile("TEMP.TMP")
will delete a file named TEMP.TMP
from the current directory, if it exists.