REST _ _ _ _ _ _ _ _ _ _ _ _ operator
The rest operator returns a list containing all but the first element of the list it is given.
rest(<list>) or rest <list>
<list> must be a non-empty list, but need not have more than one element.
alist := {a,b,c,d};
ALIST := {A,B,C,D};
rest alist;
{B,C,D}
blist := {x,y,{aa,bb,cc},z};
BLIST := {X,Y,{AA,BB,CC},Z}
second rest blist;
{AA,BB,CC}
clist := {c};
CLIST := C
rest clist;
{}