Dictionary Functions

This section provides basic information about the system variables for DELMIA SGPost software.

This page discusses:

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

Variables associated with the grammar file

Current Line Comments
ARG.num major word number
ARG0[] character string following the major word
ARG1.on flag indicating the existence of minor 1
ARG1.nval number of values read from minor 1

ARG1.val[]

…………..

values read from minor 1
ARG(n).on flag indicating the existence of minor
(n) ARG(n).nval number of values read from minor (n)
ARG(n).val[] values read from minor (n)
Search Line Comments
SARG.num major word number
SARG0[] character string following the major word
SARG1.on flag indicating the existence of minor
1 SARG1.nval number of values read from minor 1

SARG1.val[]

values read from minor 1
SARG(n).on

minor (n) existence flag SARG(n).nval

Number of values read from minor (n)

SARG(n).val[] values read from minor (n)

Controller state variables

Current Line Comments
ARG.num major word number
ARG0[] character string following the major word
ARG1.on flag indicating the existence of minor 1
ARG1.nval number of values read from minor 1

ARG1.val[]

…………..

values read from minor 1
ARG(n).on flag indicating the existence of minor
(n) ARG(n).nval number of values read from minor (n)
ARG(n).val[] values read from minor (n)
Search Line Comments
SARG.num major word number
SARG0[] character string following the major word
SARG1.on flag indicating the existence of minor
1 SARG1.nval number of values read from minor 1

SARG1.val[]

values read from minor 1
SARG(n).on

minor (n) existence flag SARG(n).nval

Number of values read from minor (n)

SARG(n).val[] values read from minor (n)

Analysis and filtering variables

Current Line Comments
ARG.num major word number
ARG0[] character string following the major word
ARG1.on flag indicating the existence of minor 1
ARG1.nval number of values read from minor 1

ARG1.val[]

…………..

values read from minor 1
ARG(n).on flag indicating the existence of minor
(n) ARG(n).nval number of values read from minor (n)
ARG(n).val[] values read from minor (n)
Search Line Comments
SARG.num major word number
SARG0[] character string following the major word
SARG1.on flag indicating the existence of minor
1 SARG1.nval number of values read from minor 1

SARG1.val[]

values read from minor 1
SARG(n).on

minor (n) existence flag SARG(n).nval

Number of values read from minor (n)

SARG(n).val[] values read from minor (n)

Processing Variables

Current Line Comments
ARG.num major word number
ARG0[] character string following the major word
ARG1.on flag indicating the existence of minor 1
ARG1.nval number of values read from minor 1

ARG1.val[]

…………..

values read from minor 1
ARG(n).on flag indicating the existence of minor
(n) ARG(n).nval number of values read from minor (n)
ARG(n).val[] values read from minor (n)
Search Line Comments
SARG.num major word number
SARG0[] character string following the major word
SARG1.on flag indicating the existence of minor
1 SARG1.nval number of values read from minor 1

SARG1.val[]

values read from minor 1
SARG(n).on

minor (n) existence flag SARG(n).nval

Number of values read from minor (n)

SARG(n).val[] values read from minor (n)

DELMIA SGPost are trademarks or registered trademarks of Dassault Systemes, All Rights Reserved, in the United States and in other countries.