The NEWFILE 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

The file is saved with the SAVEFILE command.