SET_ON and SET_OFF

The SET_ON and SET_OFF statements can be used to explicitly set GPP variables "on" and "off". See earlier section for a detailed discussion on variable "set" status.

SET_ON variable variable2 ...;

SET_OFF variable variable2 ...;

Full arrays as well as individual array members can be used as arguments to these statements. Specifying the whole array as an argument will set every member of the array "on" or "off".

If a variable used as an argument is identical to other variables, then they will also be set "on" or "off" accordingly.

Example

SET_ON X Y X_CURPOS ARRAY[12];

SET_ON ARRAY;

GPP Compatibility Notes:

Old GPP also supported the old RESET statement, which was identical to SET_ON. GPP2 does not support this statement anymore.

With old GPP, it was possible to use a special ALL_VAR pseudo variable as an argument to SET_ON and SET_OFF. ALL_VAR is not supported in GPP2.

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