LPRINT with ";" Prints Nothing Until 80-Byte Buffer Is Full (69845)
The information in this article applies to:
- Microsoft QuickBASIC 4.0
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
- Microsoft Basic Professional Development System for MS-DOS 7.0
- Microsoft Basic Professional Development System for MS-DOS 7.1
- Microsoft GW-Basic Interpreter 3.20
- Microsoft GW-Basic Interpreter 3.22
- Microsoft GW-Basic Interpreter 3.23
This article was previously published under Q69845 SUMMARY
If a semicolon (;) terminates the LPRINT statement, thus concatenating
subsequent LPRINT output onto the same line, then the printer will not
print the line until the contents of the printer buffer exceeds 80
characters (one line) or until the printer receives a carriage return
plus linefeed (CR+LF) sequence.
This is an expected behavior of LPRINT because the printer is waiting
for a CR+LF, which LPRINT's semicolon (;) suppresses.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB69845 |
---|
|