You have to use operator ">>" while opening. If you want to open in R+W mode you just put the "+" operator infront as "+>> $fileName". You better go through the help pages of "open" function.
You also take a look at the "seek" function, that will help you to handle the file pointers effectively.
In reply to Re: write to file in append mode
by vennirajan
in thread write to file in append mode
by devlele
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |