Initializing help system before first use

reverse

reverse


Purpose
Reverse a list.
Synopsis
procedure reverse(l:list)
Argument
A list
Example
L:=[1,2,3,4,5]
reverse(L)    ! => L=[5,4,3,2,1]
reverse(L)    ! => L=[1,2,3,4,5]
Related topics