MYFUNC(X) NEW F SET F=X*(X+1) QUIT F
Definition: They are a subroutine that another M routine can invoke to return a value.
These functions are not included in the standard. They have been supplied by the user, system, M subroutines, or external to the current M environment.
The Format is
The extrinsic function must terminate with an explicit QUIT command which has an argument. M returns the falue of the QUIT command argument.