GETTREE
Returns the current branch of the program.
WebVue support - Yes.
Syntax
StrVal = GETTREE();
Return type: STR.
Execution
The branch used is the one passed as an argument to the function when it was called.
'A function that can only be used after TREE
SUB Main()
'Declare variables
DIM strBranch as Str;
DIM strTree as Str;
strBranche = "BRANCHE01";
TREE (strBranch);
strTree = GETTREE();
PRINT("The branch is: ",strTree);
propagationGetTree();
END SUB
SUB propagationGetTree()
DIM strTree as Str;
strTree = GETTREE();
PRINT("The branch is: ",strTree);
END SUB