Table of Contents

TatVirtualMachine.GetInputArg Method

Returns the value of the parameter passed to the Delphi method currently being executed by the virtual machine.

Remarks

The parameter is indexed by AIndex; the first parameter has index 0. For example, when executing the wrapper for a call like MyObject.MyMethod('param', 20, 0), GetInputArg(0) returns 'param' and GetInputArg(1) returns 20.

Syntax

Unit: atScript

function TatVirtualMachine.GetInputArg(AIndex: Integer): Variant;

Parameters

<-> Parameter Type Description
AIndex Integer

See also