REBOL Document

Third - Function Summary


Summary:

Returns the third value of a series.

Usage:

third series

Arguments:

series - The series argument. (must be: series date port time tuple any-function struct event object)

Description:

An error will occur if no value is found. Use the PICK function to avoid this error.


    print third "REBOL"
    B


    print third [11 22 33 44 55 66]
    33


    print third 12-jun-1999
    12


    print third 199.4.80.1
    80


    print third 12:34:56.78
    56.78

Related:

fifth - Returns the fifth value of a series.
first - Returns the first value of a series.
fourth - Returns the fourth value of a series.
pick - Returns the value at the specified position in a series.
second - Returns the second value of a series.


<Back | Index | Next>

Copyright 2004 REBOL Technologies