POV-Ray : Newsgroups : povray.off-topic : Mysteries of the universe : Re: Mysteries of the universe Server Time
6 Sep 2024 15:21:19 EDT (-0400)
  Re: Mysteries of the universe  
From: Orchid XP v8
Date: 3 Sep 2009 16:14:20
Message: <4aa0239c$1@news.povray.org>
>> 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...

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...

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

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