Environment Variables
| Environment Variable | Comments |
|---|---|
| EOF | End of file |
| FILIN.dir | Directory of the file to be processed |
| FILIN.name | Name of the file to be processed |
| FILIN.ext | File extension of the file to be processed |
| FILOUT.dir | Directory for the output file |
| FILOUT.name | Name of the output file |
| FILOUT.ext | Output file extension |
| MACLIB.dir | Library directory |
| MACLIB.name | Library name |
| MACLIB.ext | Library directory extension |
| SGP.warning | Number of warnings |
| SGP.correction | SGPOST version index (numeric variable) SGP.dir[] Directory of processed files (CLFILE, APT, or NCTAPE) SGP.input[] CLFILE or APT file name |
| SGP.env |
Environment text variable, retained after each execution. SGP.env1 text environment variable, retained after each execution. SGP.error |
| SGP.error |
Number of errors flag indicating whether the error message is copied to the file opened by OPEN1 or to the ISO file (0 = do not copy, 1 = copy) |
| SGP.from | Name of the calling macro or file. |
| SGP.line[] | APT or ISO line read |
| SGP.linemax | Length of the decoded APT line (72 for CATIA) |
| SGP.linenum | Number of the current APT line |
| SGP.linestart | First decoded character of the APT line |
| SGP.linecont | The APT line continues with another instruction |
| SGP.mode | |
| SGP.nbloc |