POV-Ray : Newsgroups : povray.off-topic : Mysteries of the universe : Re: Mysteries of the universe Server Time
6 Sep 2024 01:24:34 EDT (-0400)
  Re: Mysteries of the universe  
From: Jim Henderson
Date: 3 Sep 2009 11:53:08
Message: <4a9fe664$1@news.povray.org>
On Thu, 03 Sep 2009 09:06:16 +0100, Invisible wrote:

> Jim Henderson wrote:
> 
>> Maybe the first unis that did this figured people were Pascal-based
>> rather than C-based.  (Pascal, IIRC, starts arrays at '1', C starts at
>> '0').
> 
> As *I* remember, Pascal arrays start at whatever index you tell them to
> start at. (E.g, you can make the first index be 17 if you want...)
> 
> VAR stuff : ARRAY [17..21] OF INT;

I was thinking positions for a string.  In Pascal, using the string 
"abcdef", position 1 is "a".  In C, it's position 0.

Jim


Post a reply to this message

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