While most languages use the lone semicolon (;) to represent an empty statement, Pawn uses an empty block ({}).
Quote:
|
Originally Posted by Pawn Language Guide
Empty statement
An empty statement performs no operation and consists of a compound block with zero statements;
that is, it consists of the tokens “{ }”. Empty statements are used in control flow statements if there
is no action (e.g. while (!iskey()) {}) or when defining a label just before the closing brace of a compound statement.
An empty statement does not end with a semicolon.
|