REBOL Document

Tail - Function Summary


Summary:

Returns the series at the position after the last value.

Usage:

tail series

Arguments:

series - The series argument. (must be: series port)

Description:

Access to the tail allows insertion at the end of a series (because insertion always occurs before the specified element).


    blk: copy [11 22 33]
    insert tail blk [44 55 66]
    print blk
    11 22 33 44 55 66

Related:

head - Returns the series at its head.
head? - Returns TRUE if a series is at its head.
tail? - Returns TRUE if a series is at its tail.


<Back | Index | Next>

Copyright 2004 REBOL Technologies