REBOL Document

Head - Function Summary


Summary:

Returns the series at its head.

Usage:

head series

Arguments:

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

Description:


    str: "all things"
    print head insert str "with "
    with all things


    here: find str "all"
    print here
    all things


    print head here
    with all things

Related:

head? - Returns TRUE if a series is at its head.
tail - Returns the series at the position after the last value.
tail? - Returns TRUE if a series is at its tail.


<Back | Index | Next>

Copyright 2004 REBOL Technologies