Quote Originally Posted by Mariane
I'm puzzled by that IO_ReadOnly, I've even seen an example with
my_file.open(IO_WriteOnly | IO_ReadOnly);

If I want to open a file, read something from it, then save to it, with the
stuff being saved being larger than what was originally in the file, how
should I do it?

Mariane
The modes for opening files can be ORed together. That means that my_file.open(IO_WriteOnly | IO_ReadOnly); will open the file and you will be able to read the contents. When you write to that file the old contents are deleted and the data you write to that file replace them. If you want to keep your old data you should use IO_Append. Above all you should take a look here