Returning Values in Procedure Code

If you want a procedure to return a value, make sure that:

The following example returns the value of x or y with the Return statement.

if X < Y

return X

else

return Y

endif

For more information on how to write procedure code, see Entering Code.

For more information on how to call procedures, see Calling Procedures.