OPENFILE

The OPENFILE command opens a new file and copy the content in the memory.

GCW Script provides the following functions for working with files:

  • EOF – checks whether the end of the file has been reached
  • READFROMFILE – reads from a file
  • WRITETOFILE – writes to a file
  • DUMPFILE – deletes a file

The file is saved with the SAVEFILE command.