REVERSE

Synopsis
REVERSE thing
Description

Outputs the reverse of its input.

If thing is a list, then REVERSE outputs a list with the same members in the reverse order.

If thing is a word, then REVERSE outputs a word with the same letters in the reverse order.

REVERSE throws an error if thing is an array.

Example
SHOW REVERSE [1 2 3]
[3 2 1]
SHOW REVERSE "abc
cba

SourceForge.net Logo