Table of Contents

TatVirtualMachine.GetInputArgAsString Method

Returns the value of the parameter passed to the Delphi method currently being executed, as a string value.

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), GetInputArgAsString(0) returns 'param' and GetInputArgAsString(1) returns '20'.

Syntax

Unit: atScript

function TatVirtualMachine.GetInputArgAsString(AIndex: Integer): string;

Parameters

<-> Parameter Type Description
AIndex Integer

See also