Cheong,
Usually bad file handles are caused by not having properly closing a handle to the file. fcreate() will fail if the file already exists. Look at the TEXTMERGE command it's generally a LOT easier to use than the LLFF.
>Many thanks for your tip and I shall give it a go. Meanwhile, I am experimenting with low-level functions. However, when I issue a Fcreate('textfile,0), I get an i/o error code of 6 which I believe is 'Invalid file handle' and I cannot use fput to write to the file. Where did I go wrong? Tks.