no no no
u do not understand
when u open to write it creates a new file automatically
and if it cant create a new file(it already exists) then it wont do anything
here is what u should be using
if file exist("test.txt")=1 then delete file "test.txt"
open to write 1,"test.txt"
write strings 1,"Hey see this will not magically appear!"
close file 1
they really need to update that part of the help file to where it says "The file should not exist" and it should return a runtime error if it does(it dont but it should)
formerly shadows of emptiness