"Statement Unrecognizable" Using "_" in DATA Statement (64896)
The information in this article applies to:
- Microsoft QuickBASIC 4.0
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
- Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 7.0
- Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 7.1
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
This article was previously published under Q64896 SUMMARY
The line-continuation character in Basic (the underscore, "_") cannot
be used to continue a DATA statement. Using an underscore on a DATA
statement gives a "Statement unrecognizable" error message at compile
time. This is a design limitation of the line-continuation feature of
Microsoft Basic compilers.
The following lines, when compiled, demonstrate this behavior:
DATA 10, 20, 30,_
40, 50, 60
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB64896 |
---|
|