Go up to Selection
Go forward to []: Indexing

Length(): Length

l = Length(a)
      int l
      Array<T> a

Specification: Returns the number of slots of array a.

Constraints: It is illegal to apply Length to an unbound a.

Complexity: O(1).


Wolfgang.Schreiner@risc.uni-linz.ac.at
Id: main.tex,v 1.10 1996/04/04 11:45:47 schreine Exp

Up Next