[futurebasic] Containers and memory

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 2002 : Group Archive : Group : All Groups

From: Richard Goodman <bhomme@...>
Date: Sun, 24 Mar 2002 08:38:10 -0800
Containers are always dimensioned as globals. I have a question about their
memory requirements. Containers may hold several gigabytes of information.
Is the amount of memory allocated, set at some very large value when a
container is dimensioned, or is the memory allocation dynamic? In other
words, is the amount of memory allocated just one byte when a container is
"empty"? If a container holds, say just one ASCII character, is the memory
allocated to it then 3 bytes?

Richard