Table of Contents

TatVirtualMachine.GetInputArgAsBoolean Method

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

Remarks

In scripter, a boolean value is determined by an integer test against zero: zero means False, any other value means True. An exception is raised if the value cannot be converted to an integer. See GetInputArg for more info.

Syntax

Unit: atScript

function TatVirtualMachine.GetInputArgAsBoolean(AIndex: Integer): Boolean;

Parameters

<-> Parameter Type Description
AIndex Integer

See also