Loading

CLONEREVERSE

lists strings binary

The function CLONEREVERSE clone the input and reverses the order of the elements. Output is a reference to a new object.

Applied on a byte array, REVERSE reverses the endianness.

CLONEREVERSE is available since version 1.0.0.

See also

Signature

Examples

<% DUP CLONEREVERSE == %> 'simplestpalindrom' STORE 'level' @simplestpalindrom 'foo' @simplestpalindrom //try to replace CLONEREVERSE by REVERSE...
[ 'eins' 'zwei' 'drei' ] 'mylist' STORE $mylist CLONEREVERSE //output is the reference to the reversed list $mylist //original list preserved