(null)
 
 
 

Syntax:

;

Purpose:

The null statement (a lone semi-colon) is a valid and well-defined statement that does nothing. It is useful in those situations where a statement is required, but no action is desired. For example, a for statement with an empty initial statement could be writ-ten as

for ( ; x < 5; x = x+1; ) print("count =", x );