[Coco] basic09 - append to file

Aaron Wolfe aawolfe at gmail.com
Wed Jan 12 03:55:34 EST 2011


SEEK EOF(#fp)

returns a syntax error 28, missing path.

I've tried:

SEEK #fp,EOF(#fp)

but this causes a seek to 0, which is not entirely surprising since
eof(#fp) returns 0...  am I doing it wrong?



On Wed, Jan 12, 2011 at 12:59 AM, Wayne Campbell <asa.rand at gmail.com> wrote:
> The syntax is SEEK EOF(#path), where #path is your path variable for the
> file.
>
> Wayne
>
> ----- Original Message ----- From: "Aaron Wolfe" <aawolfe at gmail.com>
> To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
> Sent: Tuesday, January 11, 2011 1:13 PM
> Subject: [Coco] basic09 - append to file
>
>
>> 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?
>>
>> -Aaron
>>
>> --
>> Coco mailing list
>> Coco at maltedmedia.com
>> http://five.pairlist.net/mailman/listinfo/coco
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
>



More information about the Coco mailing list