Functions all use the same notation which is based on the BASIC programming language:
return value = function(arguments)
You only specify the function and the arguments. Whether you use capitals or small letters is irrelevant for the names of the functions, but not for the arguments. Capitals or small letters are especially important when variables are used as arguments.
List & Label evaluates the expression and interprets it replacing the "function(arguments)" part by the "return value".
I.e., the return value.is produced from the function(arguments) input line.
The elements have the following meanings:
Element |
Meaning |
Function() |
The name of the respective function in its correct syntax. The brackets () for the arguments belong to the function name. The brackets must always be present even if a function does not have any arguments. |
Arguments |
The values that a function uses in order to produce the return value. The arguments follow the name of the function immediately without any spaces in between. A function can have zero, one or more than one argument(s). Functions usually expect arguments of a certain value type (see below). It is important that the value types of the arguments conform to the types expected by the function. |
Return value |
The value that List & Label returns as the result of a function. The type of the return value depends on the function in question or the value types of the arguments. |