Marco van de Voort schreef: >> will add 64k to the executable because it's allocated on the stack. > > Huh? > > A filebuffer variable must be available always, so it is a global variable. I thought the file buffer variable must available for the time a file is opened and can be discarded after the file has been closed. Vincent