I've been messing around with streams and i can't write to a .txt file i put on my webspace. Why cant i do this, or am i missing something silly.
cheers
charlie
Local array1:String[10] Local array2:String[10] in=ReadStream("http::c-knight.madasafish.com/CG_01/hiscore.txt") If Not in RuntimeError "Failed to open a ReadStream to file http::www.blitzbasic.com" 'While Not Eof(in) For i=0To 9 array1[i]=ReadLine(in) array1[i]=ReadLine(in) Next CloseStream in in=WriteStream("http::c-knight.madasafish.com/CG_01/hiscore.txt") For i=0 To 9 WriteLine in,Array1[i]+"monkey" WriteLine in,Array2[i]+"monkey" Next 'Wend CloseStream in in=ReadStream("http::c-knight.madasafish.com/CG_01/hiscore.txt") If Not in RuntimeError "Failed to open a ReadStream to file http::www.blitzbasic.com" 'While Not Eof(in) For i=0To 9 array1[i]=ReadLine(in) array1[i]=ReadLine(in) Next CloseStream in
cheers
charlie