OpenDiskFile (open)
Open an existing file on disk
Syntax
LOADLIB "wh::files.whlib";
INTEGER FUNCTION OpenDiskFile(STRING path, BOOLEAN writeaccess)Parameters
STRING pathPath to the file to open.
BOOLEAN writeaccessTrue to get write access to the file
Return value
INTEGERID of open file, or 0 if file opening failed