Returns the value of a variable, used in a currently active FSM.
It is enough for the variable to be defined in the FSM itself - it does not have to be set by setFSMVariable (even though that method can be used as well).
|Syntax:||handle getFSMVariable name|
|Return Value:||Anything - Value, as set either inside the FSM, or using setFSMVariable. If the variable does not exist, or the FSM has completed, the returned value is isNil.|
_hdl =  execFSM "custom.fsm"; _val = _hdl getFSMVariable "_target";