The SAVEFILE command creates a new file 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

A file is created with the OPENFILE command or the NEWFILE command.