|
 |
>> 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.
Probably.
IIRC, in Turbo Pascal, position 0 is the length. (And since it's a
single byte, no strings longer than 255 characters...)
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
 |