[Coco] RS-DOS: EOF() but for writing?
Allen Huffman
alsplace at pobox.com
Thu Jan 26 15:15:58 EST 2023
I know you can use EOF() to know if an input file is at the end, but is there a way to do the opposite, and know if a write would fail? I suppose this is not easy, since it doesn’t know how much you plan to write next.
Without an ON ERROR in CoCo 1/2 BASIC, you would just write until the program crashes with a ?DF ERROR (disk full).
Thoughts?
--
Allen Huffman - PO Box 7634 - Urbandale IA 50323 - 515-999-0227 (vmail/TXT only)
http://www.subethasoftware.com - https://www.facebook.com/subethasoftware
More information about the Coco
mailing list