Query signed integer (32bit) variable value in storage.
Syntax |
int32 get_int32(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" int32 v = shell.storage.get_int32("my_var"); } |