Stores the value of an integer variable in the local storage of the current shell.
Syntax |
setLocalInt(string name, int value) |
---|---|
name |
Name of the variable |
value |
Value to be stored |
Result |
Each variable has its own name, which must be unique within its type. Thus, variables of different types but having the same name can exist. In the case of storage, if the variable does not exist, it is created automatically, otherwise it is simply updated.