pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]
Iterator

Iterator()->index()


Method index

mixed index()

Description

Returns the current index, or UNDEFINED if the iterator doesn't point to any item.

If there's no obvious index set then the index is the current position in the data set, counting from 0 (zero).

Module reference for Pike v7.8 release 116, 2008-12-31