Syntax
function[( )] |
function
Name of the function.
( )
Identifies a function call.
The parentheses ( ) indicate that this is a function and not a variable. If unique function and variable names are assigned, the parentheses can be omitted.
If function and variable names are not unique (i.e. if there are functions and variables with the same name), parentheses must be used to identify this as a function. If the parentheses are omitted, SDF-P interprets the name as a variable and inserts the value of the variable in accordance with the rules of variable handling.
Examples
If there is no variable with the name USER-IDENTIFICATION, the entries USER-IDENTIFICATION and USER-IDENTIFICATION( ) are equivalent; they are both interpreted as function calls.
If a variable named USER-IDENTIFICATION is defined, only the entry USER-IDENTIFICATION( ) is interpreted as a function call; in this case, the entry USER-IDENTIFICATION is handled as a variable name.