As an exercise I used donna's example on an A400 using 7.5. I was able to
create up to foo10387. I then deleted all of the foos and changed the
prefix to the variable name to just be an "f". This time I got up to
f10417. So the length of the name of the variable does indeed affect the
number of variables one can create.
Gary
-----Original Message-----
From: [log in to unmask]
[mailto:[log in to unmask]]On Behalf Of donna garverick
Sent: Friday, February 04, 2005 12:57 PM
To: [log in to unmask]
Subject: Re: [HP3000-L] User environment variable on 6.5
--- "Vance, Jeff H (Cupertino)" <[log in to unmask]> wrote:
> > 1) How much space is allocated to variables in the CI. Is
> > this space all available to 'user' variables or does it
> > include space required by HP defined variables?
>
> I don't recall the size of the CI's variable table object (maybe
> ~2MB), but it is large enough to hold approx 8,000 CI variables.
definately a ymmv thing...
:setvar i 0
:while setvar(i,i+1)> 0
*** EXPRESSION TRUE
:setvar foo!i 'a'
:endwhile
setvar foo10437 'a'
^
Symbol table full: addition failed. To continue, delete
some variables, or start a new session. (CIERR 8122)
setvar foo10437 'a'
Error executing commands in WHILE loop. (CIERR 10310)
- d
=====
Donna Garverick, HP-CSA Sr. System Programmer
dgarverick -at- longs -dot- com
925-210-6631 Longs Drug Stores
Come, my friends, 'Tis not too late to seek a newer world.
Tho' much is taken, much abides; and tho'
We are not now that strength which in old days
Moved earth and heaven, that which we are, we are.
"Ulysses", A. Tennyson
>>>MY opinions, not Longs Drug Stores'<<<
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|