Previous Up Next

2.37.6  Remove the first element : tail

tail takes as argument a list. tail returns the list without it’s first element.
Input :

tail([0,1,2,3])

Output :

[1,2,3]

l:=tail([0,1,2,3]) does the same thing as l:=suppress([0,1,2,3],0)


Previous Up Next