This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| crpl:docs:call [2013/01/14 18:40] – created virgilw | crpl:docs:call [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | TODO | + | |
| + | <- [[crpl: | ||
| + | |||
| + | ===== @FUNC_NAME | ||
| + | |||
| + | ===== Syntax ===== | ||
| + | |||
| + | @FUNCTIONNAME | ||
| + | |||
| + | ===== Description ===== | ||
| + | |||
| + | Invokes a function named **FUNCTIONNAME**. Execution passes to said function and returns to the statement | ||
| + | after the call when the function is complete. Arguments can be passed to and received from functions via the stack. | ||
| + | === Examples === | ||
| + | |||
| + | <code 4rpl> | ||
| + | 3 4 @MyMathFunction Trace # will print 9 to the stack (3 * 4 - 3) | ||
| + | |||
| + | : | ||
| + | | ||
| + | < | ||
| + | </ | ||