Mail Archives: djgpp/1998/02/26/03:46:43
>how do i do this?
>
>label;
>expression;
>goto label;
the correct syntax is label: and not label; (colon in stead of semi-colon)
Since you say you are new to C, I suggest you not to abuse of the goto
statement, because this can lead to unreadable programs very fast, try to
use structured statements (while, for, ...) as much as possible...
>i know this is a C question and not a djgpp question.
...then why didn't you post it on comp.lang.c ? :-)
ciao
Giacomo
- Raw text -