Returns the current value of a variable according to the variable's name.
This function lets you handle and invoke mouse events, such as Click, Double Click, Mouser Over, and Mouse Out, on the Magic xpa client window.
Syntax:
VarCurrN(variable name)
Parameters:
variable name: A string representing a variable's name.
Returns:
Current value of requested variable. The attribute of the returned value is the referred variable's attribute.
Example:
VarCurrN('Customer ID') returns the current value of the variable named 'Customer ID'.
Note:
If the variable name is not found, the function returns NULL. When the given variable name exists more than once, the function will relate to the lowest variable in the task tree.