Query double variable value in storage.
Syntax |
double get_double(const string &in name) |
---|---|
name |
Variable name |
Result |
Returns value of variable found, 0 otherwise |
Esempio di utilizzo:
bool execute(shell::object @shell, const string &in cmdline) { // Query value of "my_var" double v = shell.storage.get_double("my_var"); } |