Set signed integer (32bit) variable value in storage.
Syntax |
void set_int32(const string &in name, int32 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 1000 shell.storage.set_int32("my_var", 1000); } |