Define Parameters and Private Variables

For a Function or UDFB, input and output parameters (as well as private variables) are declared in the Dictionary toolbox as local variables of the item. The Add variable command let you add the following:

Parameters and Private Variables

Figure 1: Parameters and Private Variables

Input and Output parameters always appear at the beginning of a UDFB group.

Pressing the INSERT key when the item is selected adds a private variable.


  • There are some things to be aware of with UDFB parameters:

    • UDFB cannot contain parameters being both for Input and Output
    • Simple parameters (scalar type) can be either IN, OUT, or IN_OUT
    • Complex parameters (an array or structure) should be declared as IN but is systemically considered to be IN_OUT.
    • UDFB cannot have more than 32 input parameters or 32 output parameters
    • Output parameters can only be simple data type