Click on the Function Definition Properties icon and click on the Parameters tab.

This tab is used to specify the parameters to be supplied when this function is called. The tab is only relevant to Global Functions, unless the function is to be called from a Task. A function does not have to be global to be called from a Task.

The Fields in this Window:

I/O - The type of parameter: I – Input, O – Output, B - Both. E – External, G - Global .

The external type allows a file variable to be used by a Global Function, without a file that includes the file variable being read in the function. This would cause a gen failure unless the variable is an External parameter.

The global type makes a Task parameter available to any function that is called by the Task, without mapping it through the interface.

See also Parameters within Task Management.

Variable - The name of the variable to be passed in the parameter.

Type - The variable type, A - Alpha, N - Numeric, or W – Wide.

Length - The length of the variable.

Array - If the variable is an array, the number of elements.

Task Variable  - The name of the task variable to be mapped to this parameter (only used if the function is to be called from a task).

Notes - Click to enter or view descriptive notes on the function.

Comment on this topic

Topic ID: 500234