CREATE (allow data file creation)

Top  Previous  Next

 

CREATE

The CREATE attribute (PROP:CREATE) of a FILE declaration allows a disk file to be created by the CREATE statement from within the PROGRAM where the FILE is declared. This adds some overhead, as all the file information must be contained in the excutable program.

Example:

Names FILE,DRIVER('Clarion'),CREATE     !Declare a file, allow create

Rec    RECORD

Name    STRING(20)

      END

     END