Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
ADT
ADT.Sequence

Method ADT.Sequence()->`[]()


Method `[]

mixed `[](int index)

Description

Index operator.

Parameter index

The index to get the value for, could be negative to index from the end.

Returns

The value at the index index .

Throws

An error if the index is out of range.