Loading

->SET

sets

The ->SET function converts a LIST on top of the stack into a SET.

SETs are not viewable, null will be return if it remains on the stack.

The order in the SET is not guaranteed, see ().

->SET is available since version 1.0.0.

See also

Signatures

Examples

[ 4 true 'pp' [ 2 55 ] ] ->SET //STOP //try to insert STOP here to see the stack 'myset' STORE [ $myset <% %> FOREACH ] //one way to rebuild a list from the set. $myset SET-> //another simpler way