Document Function Definition Parameters

  

DEVELOPER

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.

To contract the paging area of the screen, click the Contract . This will reduce the number of lines per record in the paging screen to 1 thus allowing double the number of records to be visible. You will notice that the label on the now says Expand. Clicking it now will expand the number of lines per record back to 2.

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.

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


 

Comment on this topic

Topic ID: 500095