3 ms·
I tend to think that for a "this is a useful way to use them", that pascal did it right. Type LatLonTemp = array[-180..180] of array[-90..90] of Real
by shagie 4y ago
I tend to think that for a "this is a useful way to use them", that pascal did it right.
Type
LatLonTemp = array[-180..180] of array[-90..90] of Real
Arrays may start and end at any value of an ordinal type.
There are other problems with arrays in pascal (hinted at the type definition), but that the first element of the array doesn't have to be 0 or 1 or even a positive number can make some code easier to work with.