arrays

BlitzPlus Forums/BlitzPlus Programming/arrays

how do i store strings in an array

dim array$(3)

array(0) = "test"
print array(0)


sorry i ment like a inputed string

array(0) = Input("? ")
or
a$ = Input("? ")
array(0) = a$

this is wut i have



Dim array(3)


For x = 0 To 3

a$ = Input("? ")
array(x) = a$
Next


For x = 0 To 3

Print array(x)
Next


and all i get is 0's for the array position

ok i got it all taken care of thanx guys