Simple Statements



next up previous contents index
Next: Store Statement Up: Statements Previous: Statements

Simple Statements

Simple statements do the actual computing. They consist of declarations (4.5), assignments (5), and invocations (6.1).

An invocation statement invokes a procedure. Its form is

<primary> "(" [<args>] ")"
(A primary is a limited kind of expression (7.16).) The semantics of an invocation statement is the same as an invocation expression (6.1) except that the procedure invoked may return any number of results, and any such results are discarded.



theta-questions@lcs.mit.edu