NIST

one-based indexing

(definition)

Definition: Indexing (an array) beginning with 1.

Aggregate parent (I am a part of or used in ...)
array.

See also 0-based indexing.

Note: That is, an array A with n items is accessed as A[1], A[2], ..., A[n].

Author: PEB


Go to the Dictionary of Algorithms and Data Structures home page.

If you have suggestions, corrections, or comments, please get in touch with Paul E. Black.

Entry modified 18 March 2004.
HTML page formatted Fri Mar 25 16:20:34 2011.

Cite this as:
Paul E. Black, "one-based indexing", in Dictionary of Algorithms and Data Structures [online], Paul E. Black, ed., U.S. National Institute of Standards and Technology. 18 March 2004. (accessed TODAY) Available from: http://www.nist.gov/dads/HTML/oneBasedIndexing.html

to NIST home page