Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For loops are "Up to and including".

Arrays boundaries are [0..N] -> [0..1000] (1001 element actually, sorry if that confused you).

[add]: I could rewrite it in C, it should be trivial bijection, I believe.



I suspected as much, but indeed it confused the hell out of me, I've never written a line of pascal so my buffer overflow detector false triggered :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: