FunctionCall Class Methods

In this section we discuss the FunctionCall class methods. The methods are described in alphabetical order.

Syntax

AddArgument(&RuleExpression)

Description

Use the AddArgument method to add an argument to this function call.

Parameters

Field or Control

Definition

&RuleExpression

Specify an already instantiated rule expression object, such as a cube object.

Returns

None.

Syntax

GenerateRule()

Description

Use the GenerateRule method to return a string that contains the rule for this object.

Generally you wouldn’t use this method on the individual RuleExpression objects, but instead would use the GenerateRule method on the RuleDefn object.

Parameters

None.

Returns

A string.

Syntax

GetArguments()

Description

Use the GetArguments method to return an array of RuleExpression objects associated with this FunctionCall. These are the RuleExpression objects that were added using the AddArgument method.

Parameters

None.

Returns

An array of RuleExpression objects.