[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gforth] Open a file in Append mode
From: |
Anton Ertl |
Subject: |
Re: [gforth] Open a file in Append mode |
Date: |
Mon, 30 Apr 2018 09:52:15 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
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