Microsoft KB Archive/33623

= PRINT Scrolls Truncated Text If Window Bottom Covered =

Article ID: 33623

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft QuickBasic 1.0
 * Microsoft BASIC Compiler 6.0b
 * Microsoft BASIC Interpreter 2.0
 * Microsoft BASIC Interpreter 2.1 for Macintosh
 * Microsoft BASIC Interpreter 3.0 for Macintosh

-



This article was previously published under Q33623



SUMMARY
This information applies to Microsoft QuickBASIC Version 1.00, BASIC Compiler Version 1.00, and BASIC Interpreter Versions 2.00, 2.10, and 3.00 for the Apple Macintosh.

The PRINT and PRINT USING statements automatically scroll the contents of the output window upwards to make room for text that is printed at the very bottom of the output window. If the bottom of the output window is moved slightly off screen or covered partially by any window (such as the LIST window), the text scrolled upwards can be truncated or blank because BASIC only scrolls the pixels that were initially visible when they were printed.

The following program is an example (move the output window downward one-half of a line or more so that the bottom is obscured by the Macintosh screen border): FOR J=1 TO 400 PRINT &quot;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&quot; NEXT

Additional query words: BasicCom MQuickB

Keywords: KB33623

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.