Skip to content

Functions

JordanL2 edited this page May 24, 2020 · 3 revisions

Functions can be executed with the following syntax, which will execute a function named 'funcA' with the parameters 1, 2 and 3:

funcA(1, 2, 3)

Function names are case insensitive, and followed immediately by a parameter list in brackets. If there are no parameters, empty brackets () are given.

The parameter list is separated by commas. Each parameter is a statement, and can use all available functionality including functions, for example:

funcA(1 + funcB(45), 3/7)

Clone this wiki locally