Current Help System: PC-DMIS NC (View Core Help)

DECLARE – This command creates one or more variables that must exist before they can be used. If more than one variable is declared with a single DECLARE command then they must be separated by commas. Variables are initialized when they are created by using an equal sign. The DECLARE format is:

DECLARE Variable1=Value1, Variable2=Value2, Variable3=Value3, NOValueVariable

- Variable[1,2,&3] are variables where the variable is assigned a value.

- NOValueVariable is a variable where the value is not initialized with a value.

an example:

DECLARE V1=1, V2=2, V3=3, ZERO;