Open main menu

CDOT Wiki β

Changes

GPU621/Chapel

369 bytes added, 23:20, 29 November 2022
List
private use List;
config const quiet: bool = false;
The append() method appends the following element into the array.
The sort() method sorts the list in ascending order.
The pop() method pops the element at the specified index.
The clear() clears all elements from the list.
The indexOf() retrieves the index of the value specified, returns -1 if not found.
The insert() method inserts the value at the specified index.
= Reference =
73
edits