Procedure syntax and calls.


%%% Procedure: pass by value, pass by reference
declare
Z1
P = proc {$ X1 X2 ?Z} Z = X1 + X2 end
{P (X.age + 1) (A + A) Z1}
{Browse Z1}

CSci 4651 course web site.

The views and opinions expressed in this page are strictly those of the page author. The contents of this page have not been reviewed or approved by the University of Minnesota.