|Top Previous Next|
29: handle:= FOpen("drive:path\filename.ext", mode);
This intrinsic opens a file and returns its handle. The file is specified by a string containing the file name and an optional drive and path name.
"Mode" is 0 for read and 1 for write.
When a file is opened for writing, if it already exists, its contents are discarded; if it does not exist, a new one is created.