Usage

To use a function, you simply need to first call (in the correct order) the argument of the function, and then the function itself.

result int = (3 4) add;#here, result will get the return value of the add function
                    #with the parameters 3 and 4. So here, variable result will
                    #be equal to 7

Be careful, if you want to call multiple function at the same time, you need to use parenthesis

result int = ((3 4 add) 5) add; #Here, result will be equal to 12

Last updated