Create (create file switch)

Top  Previous  Next

 

 

Create

BYTE

The Create property contains a value that tells the file manager whether or not to create the file if no file exists.

A value of one (1) creates the file; a value of zero (0) does not create the file.

Implementation:

The Init method sets the Create property to a value of one (1), which invokes automatic file creation. The ABC Templates override this default with the appropriate setting from the data dictionary or application generator. See Template Overview--File Handling for more information.

The Open method creates the file when an attempt to open the file fails because there is no file.

See Also:     Init, Open