Removes an existing generic variable.
Syntax |
bool remove_var(const string &in name) |
---|---|
name |
Variable name |
Result |
Returns true if variable added, false otherwise |
Notes |
The variable is removed immediately, even if the data monitor is active. However, a call to the restart_monitor() method is recommended to restart the data monitor only with in data actually required. |
Example of use:
bool execute(pan3d::object @panel) { ... panel.remove_var("flag1"); panel.remove_var("rr100"); ... } |