Statements: Empty statement

The empty statement does nothing.

Syntax

;

Discussion

The empty statement can appear wherever the Chora syntax requires a valid statement. For example, you use the empty statement in a nested if-else condition to avoid Chora compiler errors:

if ( operand1 )
  if ( operand2 )
    trace "operand1 and operand2 are true";
  else
    ;     // Empty statement
else
  trace "operand1 is false";