Sets double variable value in storage.
Syntax |
void set_double(const string &in name, double value) |
---|---|
name |
Variable name |
value |
Value of the variable |
Result |
(none) |
Notes |
Any value that exists is automatically overwritten. |
Example of use:
bool execute(shell::object @shell, const string &in cmdline) { // Set "my_var" with value 3.14 shell.storage.set_double("my_var", 3.14); } |