Running out of variable s

 BBS: Inland Empire Archive
Date: 06-06-92 (09:32)             Number: 78
From: STEVE CRAVER                 Refer#: NONE
  To: ERIC KJELLMAN                 Recvd: NO  
Subj: Running out of variable s      Conf: (2) Quik_Bas
* In a message originally to All, Eric Kjellman said:

EK->        I'm looking for a way to increase the number of
EK->variables I
EK->can use in a programs... I keep running out of variable
EK->space... (I use an incredible amount of variables... ya

You can include the REM $DYNAMIC command, then use FIXED
LENGTH variables, such as DIM variable1 AS STRING *
[length]
That will free up your DGROUP memory, IF you're using string variables.

Or, you can freq "EZSTR.ZIP" from me. It's from John Strong
(EZ-Windows). It will put arrays in upper memory, limited
only by your system memory. A very handy feature in it is
the "INSERT" and "DELETE" functions, which allows you to
INSERT or DELETE an array element. You have a$(1) thru
a$(1000); you can INSERT a$(500), lets say, which will
shift the OLD a$(500) up to a$(501), along with all the
remaining a$(502-1001). Same with delete. Handy stuff!
Steve

---
 * Origin: RadioLink! Columbus, OH (614)766-2162
QuickBasic! HST/DS (1:226/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