Array size?
BlitzMax Forums/BlitzMax Programming/Array size?
| ||
local a[] a[0]=n a[1]=n How do I tell how many items are in array a[]? |
| ||
Print Len a or Print a.length |
| ||
a.length But yours would fail. You need to declare the size of the array, either: local a[10] OR local a[] = new int[10] |
| ||
Thnx |