Posted: 13th Sep 2011 15:28
hi will you guys have a look at this , the expected output would be that there would be a string in each array slot but all of them are stored in the first one .

+ Code Snippet
dim words_3[12] as string

words3 = OpenToRead("3words.txt")

for i = 1 to 12 
    words_3[i] = readstring(words3)
next i



Is this a bug or am i doing it wrong with agk ?
Posted: 13th Sep 2011 15:31
It's ReadLine if you want to read a single line of text, ReadString takes everything until it finds an ASCII end symbol I believe.
Posted: 13th Sep 2011 15:45
sorry must have missed the readline command , anyways thanks .