This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:call [2021/01/13 23:19] – created virgilw | 4rpl:commands:call [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
< | < | ||
- | === Syntax | + | ====== |
- | @FUNCTIONCALL | + | |
- | === Description | + | ===== Syntax ===== |
- | Invokes a function named FUNCTIONCALL | + | |
- | Execution passes to the function that is named 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 === | + | @FUNCTIONNAME |
- | <code 4rpl>trace(@MyMathFunction(3 4)) | + | |
+ | ===== 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 | ||
: | : | ||
- | <-b <-a * | + | ->b -> |
+ | < | ||
</ | </ | ||