DIM mystery

 BBS: Inland Empire Archive
Date: 07-25-92 (08:59)             Number: 142
From: BILL BEELER                  Refer#: NONE
  To: HUGH MARTIN                   Recvd: NO  
Subj: DIM mystery                    Conf: (2) Quik_Bas
In a message to Jon Leger <23 Jul 92 09:06> Hugh Martin wrote:

 HM> Try this:  DEFINT A-Z : X = 32766 : DIM Array(X)
 HM> Should work fine in PDS.  That's as big as an integer array can be.

Hugh...cheat...try this ;-)

DEFINT A-Z

TYPE Integers
  Part1 AS INTEGER
  Part2 AS INTEGER
  Part3 AS INTEGER
  Part4 AS INTEGER
END TYPE

'$DYNAMIC

DIM Intger(1 TO 32767) AS Integers

it's an user defined array that hold 4*32767 integers.

                                                    ...Bill...
--- GEcho 1.00/beta
 * Origin: Amber Shadow BBS - MultiLine, MultiProblems - HST/V32b (1:203/988)
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