Table of Contents

TatCustomScripter.AddConstant Method

Registers a constant value to be accessible from all scripts by the given name.

Remarks

Example: AddConstant('Pi', 3.1415);

Syntax

Unit: atScript

procedure TatCustomScripter.AddConstant(AName: string; AValue: Variant);

Parameters

<-> Parameter Type Description
AName string
AValue Variant

See also