Statement as Expression
Some statements that have a value and can be used as expressions.
Several forms of statements produce a value and can be used as expression. This is further explained in the sections for the relevant statements, see If, While, Do, For, and Visit.
- It is likely that the design of Rascal will evolve into completely merging expressions and statements.