[Info-vax] C... the only winning move is not to play...
glen herrmannsfeldt
gah at ugcs.caltech.edu
Fri Feb 14 23:16:11 EST 2014
David Froble <davef at tsoft-inc.com> wrote:
> Paul Sture wrote:
(snip)
>> There are times when BASIC dynamic strings carry too much of an overhead
>> though. I distinctly recall someone here about a decade ago (Shane Smith?)
>> describing how he had got much improved performance by massaging some BASIC
>> to use static strings rather than dynamic ones.
(snip)
> Basic supports various types of strings, dynamic, fixed length,
> constants, MAPs, and so forth.
> Yes, if you declare a static string, that's there, nothing more to do
> except move data in and out.
The BASIC systems I used to use, back to HP2000 TSB, required you
to declare a maximum length for string variables. They would then
have a length up to that value. As well as I know it, that was
adapted from the original BASIC system.
Later, maybe to get away from the many different implementations,
there was TrueBASIC.
-- glen
More information about the Info-vax
mailing list