FileP

HC Communication File Access FileP
FileTime loadpalette

FileP filename
File? filename


predicate, outputs TRUE if a file of the specified name exists and can be read, FALSE otherwise.

Examples:

FileP "bounce.lg		;true  ;-)
FileP "csls			;false  ;-)

Reference:

FileTime loadpalette