REBOL Document

Second - Function Summary


Summary:

Returns the second value of a series.

Usage:

second series

Arguments:

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

Description:

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


    print second "REBOL"
    E


    print second [11 22 33 44 55 66]
    22


    print second 12-jun-1999
    6


    print second 199.4.80.1
    4


    print second 12:34:56.78
    34

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.
third - Returns the third value of a series.


<Back | Index | Next>

Copyright 2004 REBOL Technologies