Help

 BBS: Inland Empire Archive
Date: 02-06-93 (11:52)             Number: 392
From: RICK PEDLEY                  Refer#: NONE
  To: HUGH MARTIN                   Recvd: NO  
Subj: Help                           Conf: (2) Quik_Bas
 On 02-04-93 Hugh Martin wrote to Zack Jones...

 HM> In straight QuickBasic, you'd have to print 1920 chrs, then do the
 HM> last
 HM> 80 with a separate PRINT STR$(80,176);.  Don't know why this works
 HM> without scrolling while printing 2000 chrs always scrolls.

Because scrolling starts as soon as you've printed the _24th_ line if
there is no semi-colon, as is the case if you try and print 2000
char's at once. By breaking it up you can print a semi-colon after
each of line 24 and 25, and suppress scrolling.

BTW, here's a related tip for laser printer users: after a print-
screen to a laser, you can force the page to eject by typing PRINT NUL.
DOS tries to print the non-existent file and finishes with a form-feed
_but_no_LF_. Other methods involve echoing a FF to the printer, but
there's no way to prevent DOS from sending a LF after ECHO ^L PRN and
thereby moving down a line on the next page. Well, kinda related to the
scrolling problem :)


... OFFLINE 1.43 * Phasers are the universal communicators.

--- Maximus 2.01wb
 * Origin: The BULLpen BBS * Intel 14.4EX (613)549-5168 (1:249/140)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET