Feature Rich
Rapid Application Development
Helping you or your customers
Manage their Business

All Commands All Program Flow
Commands

FUNCTION

You can use this command to declare a function to be used later.

The function name should always be in upper case.

You can then call the function as if it were a standard UDB command {NAME(p1, p2)}

Any parameters passed in will be assigned to UDB Variables of the same name.

By default, the function will return anything that is output during the function process but you can override this by using the {RETURN(value)} command. This will not stop execution, just instruct the code to return that value when it finishes.

This command requires an {END_FUNCTION} command.

Number Name Default Type Description
1 name String Funtion Name
to add a Comment.