|
|
|
|
|
|
|
|
|
|
|
|
|
|
v |
Arrays
are declared like any other variable using a
|
|
|
Dim statement
|
|
|
Dim dwarf(6) As String
|
|
|
v |
Notice
|
|
|
|
; |
The
syntax is just like a normal declaration except for the
|
|
parenthesis
pair
|
|
|
|
; |
In
the parentheses is the largest
desired index
|
|
|
|
; |
The
total number of elements of the array will be one
|
|
|
more
than the largest index,
since the origin is 0
|
|
|
|
; |
The
type applies to all of the elements
|
|