TREE

Concept Link IconSee also

Set a branch.

WebVue support - Yes.

Syntax

TREE(Branch);

There is no return type.

Argument

Meaning

Branch

The name of the branch to be used. Type STR.

Execution

The TREE instruction is effective, inside a function, until the next TREE instruction.

Example

SUB Main()

'Declare variables

DIM strBranche as Str;

DIM strTree as Str;

 

strBranche = "BRANCH01";

TREE (strBranch);

strTree = GETTREE();

PRINT("Branch: ",strTree);

propagationGetTree();

END SUB

 

SUB propagationGetTree()

DIM strTree as Str;

 

strTree = GETTREE();

PRINT("Branch: ",strTree);

END SUB