It's
EXPR if EXPR;
and not
STATEMENT if EXPR;
You can use do (do { ... }if EXPR;), but not a bare loop ({ ... } if EXPR;).
In reply to Re: "if" and compound statement
by ikegami
in thread "if" and compound statement
by juliosergio
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |