I make a file, like so:
if file exist("Dialogs\" + winame$ + ".dlg") = 0 then make file "Dialogs\" + winame$ + ".dlg"
Then i open it to read:
open to read 1,"Dialogs\" + winame$ + ".dlg"
read string 1,Nonsense$
read string 1,E$
close file 1
Then i open it to write:
open to write 1,"Dialogs\" + winame$ + ".dlg"
write string 1,winame$
Enew$ = str$(val(E$) + 1)
write string 1,Enew$
close file 1
And i get an error message:
Warning:File Already Exist
Any ideas as to why?
all i want to do, is make a file if it dosen't exist, and read from it and right to it.
later