Extrinsic Functions

M言語プログラミングブック [WALTERS1997] から引用

Page 197-198

SET DEF=$$MYFUNC(X)

MYFUNC(X) NEW F SET F=X*(X+1) QUIT F

Entrinsic Functions:

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

$$[label][^routinename]([expr|.lname[,...]])

The extrinsic function must terminate with an explicit QUIT command which has an argument. M returns the falue of the QUIT command argument.

Previous topic

エラー ハンドリング

Next topic

Bibliography

This Page

inserted by FC2 system