23 Oct
2009
23 Oct
'09
4:07 a.m.
Hi fellow chucKers, My example prog crashes if I leave the condition part of the for() loop empty (no error message, just crash): for (0 => int i; ; i++) { <<<i>>>; if (i == 100) { break; } } In C, it is legal, but whatever, I'd like to see an error message instead of a program crash :). Not so urgent, I can fix it adding a "true" keyword like this: for (0 => int i; true; i++) { <<<i>>>; if (i == 100) { break; } } Regards, Szilveszter aka Hillaby