PUT

Parameters

OrderNameTypeDesc
1valueanyThe stack item to be stored
2nameconstThe 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.

See Also