Xbasic

EVALUATE_TEMPLATE Function

Syntax

C EVALUATE_TEMPLATE(C template[,C Macro1[,...C MacroN]])

Arguments

template

Character

Macro1

Character

MacroN

Character

Description

Evaluate code with optional macros.

Discussion

EVALUATE_TEMPLATE() executes the Xbasic code specified by Expression. See Code Indirection for more details.

Example

Assume the variable "command" is set to: "dim global newVar as C"

Evaluate_template(command) -> same as executing the command: "dim global newVar as C"

See Also