SET

Parameters

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

See Also