arrays

BlitzPlus Forums/BlitzPlus Programming/arrays

sktbrd341(Posted 2004) [#1]
how do i store strings in an array


Zenith(Posted 2004) [#2]
dim array$(3)

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



sktbrd341(Posted 2004) [#3]
sorry i ment like a inputed string


soja(Posted 2004) [#4]
array(0) = Input("? ")
or
a$ = Input("? ")
array(0) = a$


sktbrd341(Posted 2004) [#5]
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


sktbrd341(Posted 2004) [#6]
ok i got it all taken care of thanx guys