HP3000-L Archives

February 2005, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Paul Christidis <[log in to unmask]>
Reply To:
Date:
Fri, 4 Feb 2005 15:26:38 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (49 lines)
Never mind on my last response to this thread about perhaps the CI
variable values being stored in another table.  When I increased the
length of the value to 8 characters the number of CI variables did
decrease:

:deletevar @
:ciloop6
 setvar TESTVAR09879  'xxyyabxx'
        ^
Symbol table full: addition failed.  To continue, delete

Perhaps storage allocation for the value side of the variable is being
done at 4 byte increments.

Regards
Paul Christidis


HP-3000 Systems Discussion <[log in to unmask]> wrote on 02/04/2005
12:26:59 PM:

> > 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.
>
> > 2) How much space does a string/numeric/boolean variable take?
>
> The entries in the variable table are variable length. So, if you use
> shorter variable names and shorter string values you can create more
> variables.
> A Boolean variable needs one byte for each character in the name, 1 byte
> for the Boolean value, and several overhead bytes.
>
> > 3) How do I find out how much space is left?
>
> Interesting question.  Short of PM debug I don't know.  Are you running
> into limits here?
>
> Jeff Vance, vCSY
>
> * 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 *

ATOM RSS1 RSS2