LONGVAR
Long Variable Name Entry Mode
This directive sets the environment to process long variable name syntax.
Syntax
Section titled “Syntax”LONGVARRemarks
Section titled “Remarks”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 on these PRM statements and the IPLINPUT file, please refer to the chapter on System Files in the Thoroughbred Basic Customization and Tuning Guide.
The LONGVAR environment must be set in order to enter any syntax that is new in release level 8.0 or later. If SHORTVAR is set, an ERR=20 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 EXECUTE and MERGE directives.
Examples
Section titled “Examples”LONGVAR200 AA=Bresults in the following:
00200 LET AA = BHowever,
SHORTVAR200 AA=Bresults in a syntax error since “AA” is not a valid short variable name.
See also
Section titled “See also”SHORTVAR directive
From the Thoroughbred Basic Language Reference, Volume II: F–Q, version 8.9.1. Open this page in the PDF