[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gforth] Open a file in Append mode
From: |
Mario Beaulieu |
Subject: |
Re: [gforth] Open a file in Append mode |
Date: |
Mon, 30 Apr 2018 19:16:26 -0400 |
Thank you. A very good and easy workaround.
Mario
Envoyé de mon iPad
> Le 30 avr. 2018 à 03:52, Anton Ertl <address@hidden> a écrit :
>
>> On Sun, Apr 29, 2018 at 10:52:29PM -0400, Mario Beaulieu wrote:
>> Hi,
>>
>> Is there such a thing as an Append mode when opening a file, so I can keep
>> adding to an existing file when I re-open it? Something like w/a or r/a?
>
> Currently Gforth does not have that. You can use FILE-SIZE and
> REPOSITION-FILE after OPEN-FILE to get the same effect (as long as no
> other process appends to the file simultaneously).
>
> - anton