NIGetVar - Example

Example 1:

If (NiGetVar("XNODE") == "WS13"){;}
Executes the commands contained in the brackets {} if the variable XNODE has the value WS13.

Example 2:

A= NiGetVar("CommonFilesDir")
The variable A gets the value of the variable CommonFilesDir.