News for hackers. Stuff that matters.
Re:Quicksort is the new Hello World by xentronium on Saturday December 11, 2010 @09:26AM (#1994841)
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.

Re:Quicksort is the new Hello World by jacquesm on Saturday December 11, 2010 @09:32AM (#1994853)
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 :)