Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Statements

In IDC there are the following statements:

expression; (expression-statement) if (expression) statement
if (expression) statement else statement
for ( expr1; expr2; expr3 ) statement
while (expression) statement
do statement while (expression);
break;
continue;
return ;
return; the same as ‘return 0;’
{ statements… }
try statement catch ( var ) statement
throw ;
; (empty statement)

Please note that the ‘switch’ statement is not supported.