SET
Parameters
Order | Name | Type | Desc |
---|---|---|---|
1 | value | any | The stack item to be stored |
2 | name | const | The name of the variable to retrieve |
Returns
Nothing. This function does not consume the value from the stack. If you want to consume the value, use PUT.
Description
This command is used to store a stack item that can later be retrieved with the GET command.
This function is very similar to PUT, but while SET will leave the value from the stack, the PUT command will remove it.
For an example, see the GET command.