CREATE/{PART,'filespec'{,INCHES|MMETER}|TXT,file#[,'filespec']}[,IFERR,label:]
The following statement creates either a part file or a text file in one of the 10 scratch file areas.
If you are creating a part file, a filespec is required.
If you are creating a text file, the filespec is optional. A filespec is required to file the text.
NOTE: If you are creating a part file, the new part will contain all
customer default parameter values. Any GPAs defined before the CREATE/PART
statement will be reset to the current customer default value.
Parameter |
Description |
PART |
Minor word that indicates that a new part file is to be created. |
'filespec' |
The filespec associated with part file creation. |
INCHES,MMETER |
The units of measure, inches and millimeters respectively, which will be used for the part geometry. |
TXT |
Minor word indicating that a text file is to be created in one of the scratch file areas which are basically used as temporary working areas. |
file# |
The number of the scratch file in which the new file is to be created. Ten scratch file areas are available, therefore, the specified number must be between 1 and 10.
See the File Management Statements table |
'filespec' |
The filespec associated with text file creation. The filespec for a text file is optional in the create statement because it may be specified later in the FILE statement, if the file is to be saved. |
IFERR,label: |
Specifies a label to which the program jumps if an error occurs. |