mattscotney
Programmer
Hi all,
Is there any way to name the array index?
example:
dim myArray(3)
myArray(0 := a)
myArray(1 := b)
myArray(2 := c)
myArray(3 := d)
Then to assign elements using the created index:
myArray(a) = "apples"
myArray(b) = "bananas"
myArray(c) = "cherries"
myArray(d) = "pears"
Any help would be greatly appreciated.
Thanks in advance,
Matt Scotney
Is there any way to name the array index?
example:
dim myArray(3)
myArray(0 := a)
myArray(1 := b)
myArray(2 := c)
myArray(3 := d)
Then to assign elements using the created index:
myArray(a) = "apples"
myArray(b) = "bananas"
myArray(c) = "cherries"
myArray(d) = "pears"
Any help would be greatly appreciated.
Thanks in advance,
Matt Scotney