Howard,

Try "for i:=0 to 10000" and comment out "//sleep .."

This will fail - he's declared i as shortint

Nice catch, thanks. I never even looked but used to do exactly the same - using the smallest possible type for the task at hand ... he'll just have to change it to integer then I guess :)

--
DSK
Posted with 1.19.1.269


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to