get
memory.get(key)
db.get(key)
Description
Returns a previously stored variable in that datastore.
Parameters
| Parameter | Type | Explanation |
|---|---|---|
| key | String | The variable name in that datastore |
Example
c = memory.get("counter")
c = memory.counter // does the same thing as the line above (by using memory.variable_name)
memory.put("counter", c+1)