At 2:54 PM +0200 on 6/24/99, M. Uli Kusterer wrote:
>>Heh heh, yes I see your point =). Assuming it doesn't become a headache, I
>>vote for variable length strings. Perhaps NULL-terminated, if that is to be
>>the native string type anyway? Or else a p-string with two length bytes? I
>>really can't imagine anyone wanting object names longer than 65536 characters
>>=P...
>
>Brian,
>
> zero-terminated strings would cause similar problems as HyperCard has (it
>chokes in NULL characters), so this is definitely not what we want. I'd
>suggest using an unsigned long instead of the length byte for a "pascal"
>string. SInce this is what OTString is very likely to work with, too, we'll
>be able to use that.
How'd you find out about OTString... It's new this snapshot, and no one's
supposed ot have it yet! Did I send it out by mistake? I don't think I did
(or did you mean OTVar?)
But, yes, OTVar (and OTString) both use length longs.