English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2 answers

By Rth do you mean last?
Like the other person answered it depends on the programming lanugage, however most of the languages have arrays as indexed.
When ever you see the word Indexed that means the first value is 0. Some languages would specfiy "0 indexed based array", or "1 Indexed based array"

So if you want to figure out what the Last row is, every language should have some way to find the lenght or size of the array.
Something like, E.Length().
So this value, would be 1 less if the array is a "0 indexed based array".

2006-09-02 16:35:08 · answer #1 · answered by Nona 2 · 1 0

Which language? Either 1- or 0-based subscript, then it is either E[R] or E[R - 1]

2006-09-02 16:22:55 · answer #2 · answered by Andy T 7 · 2 0

fedest.com, questions and answers