This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
docu_set [2018/08/06 18:26] Niek |
docu_set [2018/08/17 15:11] (current) Niek |
||
---|---|---|---|
Line 10: | Line 10: | ||
The set action is using one single generic_label device to store all variables. By default the set action will look for a generic_label device named "_VARSTORE_". This default can be overridden by adding a DEVICE statement defining different generic_label device. | The set action is using one single generic_label device to store all variables. By default the set action will look for a generic_label device named "_VARSTORE_". This default can be overridden by adding a DEVICE statement defining different generic_label device. | ||
+ | |||
+ | If a TO statement is given, the variable will be set to the given value. If the variable doesn't exist yet it will be created. | ||
+ | |||
+ | If the TO statement is omitted, the variable will be deleted. | ||
Varables created by the set action can be retrieved using the [[docu_getvar|GETVAR]] function. | Varables created by the set action can be retrieved using the [[docu_getvar|GETVAR]] function. |