See Also

Passing Parameters by Reference
SET UDFPARMS Command
Working with User-Defined Functions