Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pjmorris
· 13y ago · 0 comments
Boy, does that bring back memories. Turbo Pascal was just plain wonderful software. As for Pascal, I never got over the array length being part of the array's type.
Comments
[–]
MilesTeg
13y ago
I remember you could define an array to be indexed by an enumerated type which was nice. I haven't seen that done elsewhere.
[–]
pjmlp
13y ago
At least in Ada, Modula-2, Modula-3 it is also possible.
[–]
lkesteloot
13y ago
Isn't that crazy? You can't write a generic integer array sort routine!
[–]
vidarh
13y ago
Actually you could, by using GetMem() to allocate the amount of space you wanted.
[–]
pjmorris
OP
13y ago
In other words, 'Write in C' :)