[Coco] basic09 - append to file

Robert Gault robert.gault at att.net
Wed Jan 12 08:39:56 EST 2011


Aaron Wolfe wrote:
> 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?
>

Depends on the length of the file. The second syntax is correct.

Maybe Basic09 has some quirks, so you could try:

A=EOF(#fp)
SEEK #fp,A



More information about the Coco mailing list