Extracted from Pike v7.4 release 97 at 2004-08-02.
pike.ida.liu.se
[Top]
predef::
ADT
ADT.History

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


Method `[]

mixed `[](int i)

Description

Get a value from the history as if it was an array, e.g. both positive and negative numbers may be used. The positive numbers are however offset with 1, so [1] is the first entry in the history and [-1] is the last.