[Coco] basic09 - append to file
Willard Goosey
goosey at virgo.sdc.org
Tue Jan 11 18:21:22 EST 2011
On Tue, Jan 11, 2011 at 04:13:08PM -0500, Aaron Wolfe wrote:
> Maybe I'm missing it.. is there an easy way to append to a file (like
> a log file) in basic09? all the print,write,put statements seem to
> write at the current file pointer which is 0 on open. any trick or
> simple way to seek to the end?
It looks like the easiest way is to do a SYSCALL with GETSTA SS.SIZ,
convert the result to a real, and SEEK to that.
Willard
--
Willard Goosey goosey at sdc.org
Socorro, New Mexico, USA
I search my heart and find Cimmeria, land of Darkness and the Night.
-- R.E. Howard
More information about the Coco
mailing list