PDS 7.1 question

 BBS: Inland Empire Archive
Date: 11-14-92 (10:45)             Number: 334
From: CHRIS WAGNER                 Refer#: NONE
  To: PETER BARNEY                  Recvd: NO  
Subj: PDS 7.1 question               Conf: (2) Quik_Bas
 PB> Ok, I know I should have done it a long time ago, but
 PB> I just got my upgrade to
 PB> PDS 7.1 today.  (with no manuals or update books).  So
 PB> what exactly does 7.1
 PB> offer that 7.0 doesn't?

 A few minor bug fixes, and REDIM PRESERVE.  The PRESERVE option allows
 you ro size an array on the fly adding great power to programs.  Example:

 Datafile% = FREEFILE
 OPEN "TEST.DAT" FOR INPUT AS #Datafile%
 DO WHILE NOT EOF(Datafile%)
        Items% = Items% + 1
        REDIM PRESERVE Items$(1 to Items%)
        INPUT #Datafile%, Items$(Items%)
 LOOP
 RESET
 END

 In this example, you don't know or care how many items are in the array.




--- Maximus 2.01wb
 * Origin: DREAMLINE, Wrightstown PA (215)598-8122 (1:273/202)
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