IDC: 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 <expr>;
  return;              the same as 'return 0;'
  { statements... }
  try statement catch ( var ) statement
  throw <expr>;
  ;                    (empty statement)
Please note that the 'switch' statement is not supported.
Index | Previous topic | Next topic