Procedures -- Declarations
The form of a procedure declaration is
procedure PName ({Formals}) {: Type};
{Locals}
Statement;
Formal parameters are listed with their types
procedure F(A : [R] byte,x : float) : float;
Values are returned by: return ... ;
Formal parameters can be called by-value, the default, or by-reference by prefixing the name with var
procedure G(var A : [R], n : integer);