EvaluationStatement ::= Expression S? ‘;’
An evaluation statement appears outside the context of any
other statement; it consists of just an expression and a semicolon.
Such statements are used for assigning variables and
calling functions.
NullStatement ::= ‘;’
It is possible to just have a semicolon without an expression;
this indicates a “null statement” that performs no
action.
See also: [Evaluation and null
statements] [The "goto" statement and text labels]
[The "return" statement] [The
"if" and "else" statements]
[The "for" statement] [The
"while" statement] [The "do" statement] [The
"switch," "case," and "default" statements]
[The "break" statement] [The
"continue" statement] [Opcode and mod byte
escape sequences]
|