saving using bload/bsave

 BBS: Inland Empire Archive
Date: 05-14-92 (10:07)             Number: 174
From: DANIEL CORBIER               Refer#: NONE
  To: CHARLIE QUANTE                Recvd: NO  
Subj: saving using bload/bsave       Conf: (2) Quik_Bas
You must be wondering why I asked the silly question at
the end of my last message.  It was late at night, and somehow
when you said 40 X 40 array, I thought 40 dimensions.
Silly me!  But anyway, the concept of the message is will
still work for any dimensional array.  In your particular case,

DIM test(40,40), test2(40,40)
DEF SEG=VARSEG(test(0,0))
Size = 41 * 41 * 2  ' *2 is for integer
DEF SEG   'Clean up

'Now to load the array back
DEF SEG=VARSEG(test2(0,0))
DEF SEG  'Clean up

--- Maximus 2.00
 * Origin: Telcom Central (1:135/23)
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