POV-Ray : Newsgroups : povray.off-topic : Mysteries of the universe : Re: Mysteries of the universe Server Time
6 Sep 2024 15:20:54 EDT (-0400)
  Re: Mysteries of the universe  
From: Jim Henderson
Date: 3 Sep 2009 16:16:46
Message: <4aa0242e$1@news.povray.org>
On Thu, 03 Sep 2009 21:14:27 +0100, Orchid XP v8 wrote:

>>> IIRC, in Turbo Pascal, position 0 is the length. (And since it's a
>>> single byte, no strings longer than 255 characters...)
>> 
>> Yep, Turbo Pascal stored the length rather than using the C method of
>> null-terminating the string.
> 
> ...with the disadvantage of having a maximum string size, and the
> advantage of making certain memory management operations much easier...

Yep.

> Ah, the days of plain ASCII, before anybody spoke of Unicode. Hey, wait
> a sec - C is *still* back in the days of plain ASCII...

Not with a good unicode library. ;-)

Jim


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.