Navigation:  Language Reference > 5 - Declaration Attributes > Variable and Entity Attributes >====== CREATE (allow data file creation) ====== Previous pageReturn to chapter overviewNext page

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