Skip to content

SHORTVAR

Short Variable Name Entry Mode

This directive sets the environment to process short variable name syntax.

SHORTVAR

This directive is generally available starting with release level 8.0.

LONGVAR is the default environment setting unless overridden by the SHORTVAR directive or the PRM SHORTVAR parameter in the IPLINPUT file. For more information, please refer to the IPLINPUT section in the System Files chapter in the Thoroughbred Basic Customization and Tuning Guide.

LONGVAR environment must be set in order to enter any syntax that is new in release 8.0 or later. If SHORTVAR is set a syntax error results when trying to enter Series 8 syntax.

LONGVAR and SHORTVAR have no effect on program execution, they only affect the interpretation of program syntax that is being entered, including program syntax that is being dynamically entered with the EXECUTE or MERGE directives.

SHORTVAR
200 AA=5

results in a syntax error since AA is not a valid short variable name.

However,

LONGVAR
200 AA=5

results in the following:

00200 LET AA = 5

because AA is a valid long variable name.

LONGVAR directive

From the Thoroughbred Basic Language Reference, Volume III: R–Z, version 8.9.1. Open this page in the PDF