4 lines
262 B
Text
4 lines
262 B
Text
Dim fruit$(1); defines array with 2 elements at indices 0 and 1
|
|
fruit$(0) = "apple"
|
|
fruit$(1) = "orange"
|
|
Debug ArraySize(fruit$()) + 1 ;the number of elements is equal to the size + 1. For example: Dim a(2) contains 3 elements from a(0) to a(2) for a size of 2.
|