News for hackers. Stuff that matters.
Re:Again on 0-based vs. 1-based indexing by clouddrover on Wednesday January 20, 2021 @11:28AM (#25848338)
Pascal has both. Static arrays in Pascal can have arbitrary indexes with mixed data types:

http://docwiki.embarcadero.com/RADStudio/Sydney/en/Structure...

Examples:

- var MyArray: array [1..100] of Char;

- packed array[Boolean, 1..10, TShoeSize] of Integer;

Dynamic arrays are indexed from zero.

There are no comments on this comment yet.