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:
"Vance, Jeff H (Cupertino)" <[log in to unmask]>
Reply To:
Vance, Jeff H (Cupertino)
Date:
Fri, 4 Feb 2005 12:26:59 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
> 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 *

ATOM RSS1 RSS2