Calling a function v16
You can use a function anywhere an expression can appear in an SPL statement. Invoke a function by specifying its name followed by any parameters enclosed in parentheses.
name
is the name of the function.
parameters
is a list of parameters.
Note
If there are no parameters to pass, you can call the function with an empty parameter list, or you can omit the parentheses.
This example shows how to call the function from another SPL program:
You typically use a function in a SQL statement, as this example shows: