From: dnskiesling@telis.org (David Kiesling)
Subject: Re: memory questions
>|> So a new string segment would take away another 32k (or whatever
>|> $STRING is set to) of free memory from the far heap, or however much
>|> free memory is left if it's less than 32k?
>
>Yes. But, if the amount of free memory is less than the string segment
>size, I *think* you get a run time error. Not certain on that one.
I think it might allow for it. One use of the FRE function returns the
number of bytes that can be allocated as a single string, up to the
current string segment size, and if only 16000 bytes of memory are
available, it will return 16000.
Okay, everything you've said makes sense to me now. Thanks for the
help. I feel more confident now. :)
*** QwkNews (tm) v2.1
* [TN71] Internet Newsgroup: alt.lang.powerbasic
--- GEcho 1.20/Pro
---------------
* Origin: Toast House Remote (1:100/561)
|