PRINT Scrolls Truncated Text If Window Bottom Covered (33623)



The information in this article applies to:

  • Microsoft QuickBASIC 1.0
  • Microsoft BASIC Compiler
  • Microsoft BASIC Interpreter for Apple Macintosh 2.0
  • Microsoft BASIC Interpreter for Apple Macintosh 2.1
  • Microsoft BASIC Interpreter for Apple Macintosh 3.0

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 "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
   NEXT
				

Modification Type:MinorLast Reviewed:8/16/2005
Keywords:KB33623