REBOL Document

Skip - Function Summary


Returns the series forward or backward from the current position.


skip series offset


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

offset - Can be positive, negative, or zero. (must be: number logic pair)


For example, SKIP series 1 is the same as NEXT. If skip attempts to move beyond the head or tail it will be stopped at the head or tail.

    str: "REBOL"
    print skip str 3

    blk: [11 22 33 44 55]
    print skip blk 3
    44 55


at - Returns the series at the specified index.
back - Returns the series at its previous position.
index? - Returns the index number of the current position in the series.
next - Returns the series at its next position.

<Back | Index | Next>

Copyright 2004 REBOL Technologies