>I was under the impression that HT reads the entire string with every
>reference to it to determine string length by reading until nul, and that
>Anthony planned to use an expanded Pascal string in place of C strings to
>avoid this.
Rob,
this is an entirely different animal. For determining words or
items, you have to examine the whole string to locate the commas,
spaces or whatever. No matter whether the stack is zero-terminated or
length-prefixed.
>Other than that, I would suggest a means to get & set a position in a
>string and read the next/prev char/word/line/item.
Internally this would be part of the one method I described, but to
add that as a feature to HyperTalk would be an unnecessary
complication. A better solution might be some way to pre-analyze a
string, e.g. with a "prepare items of myVar" command that would do an
analysis of the positions of each item, but I would prefer if things
like that happened automatically "under the hood".
Cheers,
-- M. Uli Kusterer
------------------------------------------------------------
http://www.weblayout.com/witness
'The Witnesses of TeachText are everywhere...'
--- HELP SAVE HYPERCARD: ---
Details at: http://www.hyperactivesw.com/SaveHC.html
Sign: http://www.giguere.uqam.ca/petition/hcpetition.html