Sets (or creates) a variable with given name and value
Use this to set an existing variable or create a new one automatically.
menu: veeos ==> Data ==> setVar
library: dataLib
setVar("myvar", 567) sets the variable myvar to the value 567.
One can of course create a new variable using a Set Variable object, and one can set a value using an assignment operator. This function essentially combines both features by setting the named variable if it already exists but also automatically creating a new variable if needed.
VEE7.0+, all platforms