Underscore (_) Not OK in Variable Name or Line Continuation (43092)
This article was previously published under Q43092
SUMMARY
The underscore character (_) is not allowed within a QuickBasic
variable, SUBprogram, or FUNCTION name in all versions of QuickBasic.
Also, you cannot type an underscore as a line continuation character
within the QB.EXE environment of QuickBasic Versions 4.00, 4.00b, and
4.50, the QB.EXE environment in Microsoft Basic Compiler Versions 6.00
and 6.00b, or the QBX.EXE environment in Microsoft Basic PDS Version
7.00.
If an editor other than QB.EXE / QBX.EXE is used to write your
program, the underscore character is recognized as a valid line
continuation character by the BC.EXE compiler (but still cannot be
used within variable, SUBprogram, or FUNCTION names).
QB.EXE / QBX.EXE can load text files that use underscores for line
continuation, but the underscore is stripped out and the continued
lines are concatenated. Total concatenated line length is limited to
255 characters in QB.EXE / QBX.EXE and BC.EXE.
This information applies to QuickBasic 4.00, 4.00b, and 4.50, the
QB.EXE environment included with the Basic compiler 6.00 and 6.00b,
and the QBX.EXE environment of Basic PDS 7.00.
Modification Type: |
Minor |
Last Reviewed: |
1/8/2003 |
Keywords: |
KB43092 |
|