Next: , Previous: , Up: The Poke Language   [Contents][Index]


18.11 Expression Statements

Poke is one of these languages where there is a clear separation between expressions and statements. However, it is often useful to use an expression in the place of an statement, in order to benefit from its side effects.

For that purpose Poke allows you to expressions as statements using the following syntax:

exp;

The value computed by the expression will be discarded.