.LONGVAR
FUNCTION
This command tells the script compiler to accept long elastic variable names. A long name can be up to 33 characters long, which does not include the $ (dollar sign) that specifies a string variable or the % (percent sign) that specifies an integer variable.
SYNTAX
.LONGVARNOTES
- This command must begin in the leftmost column of the script.
- Examples of long elastic variable names are ABLE$, TAX_AMT, DISC_PERC%. Examples of short elastic variable names are B1$ and X7.
- When the .LONGVAR command is active the Script-IV compiler will accept long and short elastic variable names.
- When the .LONGVAR command is active any misspelled Script-IV command or 4GL data name will be compiled as an elastic variable. To check the spelling of these commands and data names you can use the .SHORTVAR command.
- To disable the use of long elastic variable names, you can use the .SHORTVAR command.
- LONGVAR mode is the default.
SEE ALSO
.SHORTVAR, descriptions of LONGVAR and SHORTVAR directives in the Thoroughbred Basic Language Reference. Information on elastic (3GL) variables can be found in the Thoroughbred Basic Developer Guide.
From the Script-IV Language Reference, version 8.9.1. Open this page in the PDF