Skip to content
Prev 43655 / 398513 Next

Novice problems with write()

Bret Collier wrote:

            
For each i in 1:10 you are printing z to the console and writing z into 
a file test.txt.
Note that you only see the last z in the file, since it has been been 
overwritten several times, while the output on your console produced by 
print() has not been not overwritten.

Uwe Ligges