7.4. Answer Statements

An answer statement is used only within a procedure body, and is the means by which a value is given to the procedure. It causes an expression to be evaluated to the numeric type of the procedure, followed by automatic exit from the procedure body. The syntax is

Answerstatement ::= 
     ANSWER  Expression