PUT
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 will consume (ie. remove) the value from the stack. If you want to leave the value on the stack, use SET.
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 SET, but while SET will leave the value on the stack, PUT will remove it.
For an example, see the GET command.