Hi
does anybody know if I can do this with the print file function
print(file("c:\test.txt"),"testing 123");
do something
print(file("c:\test.txt"),"testing 456");
do something
print(file("c:\test.txt"),"testing 789");
Basically this will out a test.txt. I do not want the line to be appended.
testing123
testing456
testing789
what I want is basically 1 line for each function that it have perform without appending the file.
I try to use a filedelete function but it doesnt work as the file is being open so it cannot be deleted.
Any advise is much appreciated.
Thank you
does anybody know if I can do this with the print file function
print(file("c:\test.txt"),"testing 123");
do something
print(file("c:\test.txt"),"testing 456");
do something
print(file("c:\test.txt"),"testing 789");
Basically this will out a test.txt. I do not want the line to be appended.
testing123
testing456
testing789
what I want is basically 1 line for each function that it have perform without appending the file.
I try to use a filedelete function but it doesnt work as the file is being open so it cannot be deleted.
Any advise is much appreciated.
Thank you