[Coco] Disk BASIC - OPEN with append?

Arthur Flexser flexser at fiu.edu
Tue Dec 30 14:31:16 EST 2014


I'm also more than a bit vague on this stuff, having done minimal sort of
playing around with this sort of data file.  I do remember that there was a
distinction between sequential and direct-access (random-access) files.
Maybe the latter might be better for your purposes.

If the file length isn't extendable, you could always set up a file of a
length longer than you need, padded with dummy characters, and use direct
access to change its contents as needed.

Art

On Tue, Dec 30, 2014 at 2:25 PM, Chad H <chadbh74 at hotmail.com> wrote:

> A bit rusty here...but I dont think so.  Might have to read in the file
> and write it to a new temporary file and then continue writing with your
> appendages.   Then just kill the old one and rename the temporary file to
> the original.
> Sent from my Galaxy S4
>
> -------- Original Message --------
> From: Allen Huffman <alsplace at pobox.com>
> Sent: Monday, December 29, 2014 09:22 PM
> To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
> Subject: [Coco] Disk BASIC - OPEN with append?
>
> Does Disk BASIC have a way to open a sequential file ("O") and append to
> the end?
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>


More information about the Coco mailing list