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