Table of Contents

TatVariableInfo.ArgIndex Property

Returns the zero-based position of the variable in the input parameter list, or -1 if it is not an input parameter.

Remarks

For example, for the following script routine:

procedure MyRoutine(Param1, Param2: integer); var MyVar1, MyVar2: integer; begin end;

ArgIndex of Param1 is 0, Param2 is 1, and both MyVar1 and MyVar2 have ArgIndex set to -1.

Syntax

Unit: atScript

property TatVariableInfo.ArgIndex: Integer

See also