In QB, "Blank lines Not Allowed before SUB/FUNCTION" Misleads (41396)
This article was previously published under Q41396
SYMPTOMS
In the QB.EXE editor in QuickBasic Versions 4.00, 4.00b, and 4.50, if
the syntax of the parameter list in a SUB or FUNCTION statement is
incorrect and the ENTER key is used to move to the next line, the
following misleading error message is displayed:
"Blank lines not allowed before SUB/FUNCTION line. Is Remark OK?"
If you select the "OK" option, a remark (') line is inserted AFTER the
SUB or FUNCTION line, and the correct error message is then displayed.
The message may differ based on what the actual error is.
If you use the Mouse or ARROW keys (instead of the ENTER key) to move
to the next line, the correct error message will then display. (You
will not receive the incorrect error message, and a remark line will
not be inserted after the SUB or FUNCTION line.)
STATUS
Microsoft is researching the initially misleading error message and
will post new information here in the Microsoft Knowledge Base as it
becomes available.
Modification Type: |
Minor |
Last Reviewed: |
1/8/2003 |
Keywords: |
KB41396 |
|