This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:arrayelements [2020/04/23 15:33] admin created |
en:arrayelements [2020/04/23 15:39] (current) admin |
||
---|---|---|---|
Line 10: | Line 10: | ||
**array** [ [[integerexpressions|row]] , [[integerexpressions|column]] ] \\ | **array** [ [[integerexpressions|row]] , [[integerexpressions|column]] ] \\ | ||
- | |||
==== Description ==== | ==== Description ==== | ||
- | By default an integer from 0 to one less than the length of an array is used to index values within an array. | + | After you create |
- | + | ||
- | + | ||
- | ==== Example ==== | + | |
- | < | + | |
- | arraybase 1 | + | |
- | ar = {44, | + | |
- | for i = 1 to ar[?] | + | |
- | ? i, ar[i] | + | |
- | next i | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | 1 44 | + | |
- | 2 55 | + | |
- | 3 66 | + | |
- | 4 77 | + | |
- | 5 88 | + | |
- | </ | + | |
+ | By default the index is an integer from 0 to one less than the length of an array is used to index values within an array. | ||
==== See Also ==== | ==== See Also ==== | ||
{{page> | {{page> |