Extracted from Pike v8.0 release 276 as of 2016-07-30.
   

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


Method `[]

mixed res = ADT.CircularList()[ 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.