News for hackers. Stuff that matters.
Re:Why Pascal is Not My Favorite Programming Language (1981) by pjmlp on Wednesday September 03, 2014 @01:18PM (#8264115)
So I guess you aren't confortable with the C standard.

Functions don't take arrays size statically in arguments. Whatever you write is ignored.

Re:Why Pascal is Not My Favorite Programming Language (1981) by habitue on Wednesday September 03, 2014 @06:46PM (#8265858)
It's been a few years since I've written a lot of C. ufo's sibling comment reminded me of how it acts (the last dimension is ignored).

Anyway, this is completely beside the point of what I was talking about. The point is that a static size is a very different level of type system machinery from a dynamic size.

Re:Why Pascal is Not My Favorite Programming Language (1981) by pjmlp on Thursday September 04, 2014 @02:25AM (#8267010)
My point is that although they are static allocated, the moment you pass them as arguments, they are just another pointer.

Which leads to those beautifull security exploits.

Re:Why Pascal is Not My Favorite Programming Language (1981) by ufo on Wednesday September 03, 2014 @02:02PM (#8264370)
IIRC, if you have multidimensional arrays only the last dimension is ignored so arr[3][4] is equivalent to arr[3][]. Of course, in the one dimensional case it means that the dimension is ignored.