hello, how do i open an txt files with 10 names
and ten helht values like this and load it into an array
i know how to do it in visual basic but how to do it in darkbasic
could i do like this ?
dim ifilnum1 as integer
dim s_arr(10) as variant
file_path="c:\names.txt"
ifilnum1=freefile+1
do while not eof(ifilnum1)
line input #ifilnum1,row
x=x+1
redim preserve s_arr(x)
s_arr(x)=row
loop
close #ifilnum1
that would load an txt file in visual basic into an array
but how do i do it in darkbasic... the syntax is confusing...
Thanks for helping me!