View print

 BBS: Inland Empire Archive
Date: 04-24-92 (03:26)             Number: 102
From: STEVE HALKO                  Refer#: 39
  To: DOUGLAS LUSHER                Recvd: NO  
Subj: View print                     Conf: (2) Quik_Bas
DL>SCREEN 0, 0, 0: WIDTH 80: VIEW PRINT
DL>FOR Row% = 1 to 25
DL>  LOCATE Row%, 1: PRINT "Row "; Row%;
DL>NEXT
DL>LOCATE 15, 30: PRINT "Press any key to clear rows 5 thru 10";
DL>SLEEP
DL>VIEW PRINT 5 to 10
DL>CLS
DL>LOCATE 17, 30: PRINT "Row 25 was erased as well!";
DL>SLEEP
DL>END

  First of all, you need to add a VIEW PRINT before the LOCATE 17, 30 or
  you get an illegal function call.  Then it behaves as you described.
  I can't figure out why line 25 gets cleared!?  Must be another bug!!

 * SLMR 2.1a * !enif tsuj si gnihtyrevE

--- DB B1065/002487
 * Origin: Gulf Coast BBS -QuickSHARE #2- (904)563-2547 HST/V.32bis (1:365/12)
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