4.4 Function Procedure


A Function can have multiple Entry parameters or none. The last parameter is required and must be an Exit lising only one parameter. Functions can be called from an expression or by using the same calling format as a Method.


The name of a non-generic Function can potentially conflict with the name of an array or an Enumerated type. If that case the name will be interpreted as an array, then a function over the Enumeration. It's clearest if you can avoid using the same name between these enitities.

A Function is a pure procedure. That restricts them so they do not have side effects. Function procedure files can also contain Idiom procedures.

Working With Exceptions

Sequence Procedure