[net.micro.pc] Appending a file from PASCAL??

rich@uofm-cv.UUCP (Richard M. Jungclas) (12/05/83)

I'm looking for a PASCAL, FORTRAN or Assembly routine to open
a file for appending. The routine needs to be called from a
PASCAL program. It is unsatisfactory to read the file and re-write
it to another file. You may assume that the file is already
position at the end of the file, eg. after reading the file.
According to the documentation I have, it looks like the FCB
field variable INPT seems to control the (read/write) access
to the file, but I run into compilation errors when I try to
use this field after including the appropriate include file
from PASCAL. I'm using the 3.11 version of MS-PASCAL and DOS 2.0!
Any routines or help will be appreciated.