User Tools

Site Tools


docu_getvar

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
docu_getvar [2018/08/06 20:23]
Niek
docu_getvar [2018/08/06 20:25] (current)
Niek
Line 3: Line 3:
 By default the GETVAR function will look for variables stored in a generic_label device called "​_VARSTORE_"​. This default can be overridden by providing a different generic_label device as second function argument. If you want to use the default, simply create a generic_label device in your config with exactly this name: "​_VARSTORE_"​ By default the GETVAR function will look for variables stored in a generic_label device called "​_VARSTORE_"​. This default can be overridden by providing a different generic_label device as second function argument. If you want to use the default, simply create a generic_label device in your config with exactly this name: "​_VARSTORE_"​
  
-Variables can be defined using the [[action_set|set action]].+Variables can be defined using the [[docu_set|set action]].
  
 If the given variable name is found, its value is returned by the function. If the variable cannot be found, the function by default returns "​*undefined*"​. ​ If the given variable name is found, its value is returned by the function. If the variable cannot be found, the function by default returns "​*undefined*"​. ​
docu_getvar.txt ยท Last modified: 2018/08/06 20:25 by Niek