The following example declares a 10-element procedure reference array, each element of which references a procedure of type INTEGER with two parameters. The first parameter is a call-by-value integer simple variable, and the second is an untyped procedure reference array with a lower bound of 0 (zero) and no parameters.
INTEGER PROCEDURE REFERENCE ARRAY REFARRAY[1:10] (Q,R);
VALUE Q;
INTEGER Q;
PROCEDURE REFERENCE ARRAY R[0]();
FORMAL;
NULL
