Function calls
A function is a uniquely named set of statements that perform a certain task. A function can take a set of arguments to operate on and return a value as a result of the task it performed. Use a function's value in assignment statements, condition statements or as a program statement.
All functions, whether user-defined or built-in, are called in the same manner: enter the function name followed by the parameters to be passed to the function. Example:
signonPanel("OMEGAVIEW");
A function's
value can be used in assignment statements, condition statements or
as a program statement. Examples:Result = signonPanel // an assignment
("OMEGAVIEW");
If (signonPanel("OMEGAVIEW") == // in a conditional statement;
1)
SignonPanel("OMEGAVIEW"); // as a program statement