News for hackers. Stuff that matters.
Re:Pascal at Apple by kabdib on Saturday July 22, 2017 @12:56AM (#14825476)
Oh lordy, I'd forgotten the array index thing. That was painful.
Re:Pascal at Apple by clouddrover on Saturday July 22, 2017 @03:02AM (#14825807)
The Low and High compiler intrinsics make array indexes easy to deal with. You don't need to care about the indexing to iterate over the array. You just go from Low(array) to High(array):

http://docwiki.embarcadero.com/Libraries/Berlin/en/System.Lo...

Re:Pascal at Apple by kabdib on Saturday July 22, 2017 @05:23AM (#14826199)
I don't remember if Apple Pascal had those intrinsics or not. But I never saw any code that used them, and I read most of the Pascal code base for MPW and a bunch for the OS.
Re:Pascal at Apple by pjmlp on Saturday July 22, 2017 @08:55AM (#14826952)
Turbo Pascal had them.