IDENTICAL - Not Recommended

The IDENTICAL statement declares two or more variables as identical, meaning they will always have the same value and will always be set on or off together. Changing one of the variables (either by GPP or through the program) will affect all of them in the same way.

IDENTICAL variable variable2 …;

All variables in one identical group must be of the same type (numeric or string). However, they do not have to be of the same format. Recall that even if their format is different, the internal value of identical variables will be the same.

Arrays and array members cannot be used in the IDENTICAL statement.

It is not recommended to include more than one system variable in an identical group. GPP may need to assign two different values to these two different system variables, which cannot be done if they are identical. They will end up having the same value, but it is not possible to predict which value. GPP will produce a compilation warning in such a case.

Example

IDENTICAL A B C;

IDENTICAL XLOCAL X_CURPOS;

Some functionality may be dependent on the product package. Contact your Reseller if you require a license.