comp.lang.ada
 help / color / mirror / Atom feed
From: stt@inmet.inmet.com
Subject: Re: Append files using TEXT_IO
Date: 13 Jun 90 13:49:00 GMT	[thread overview]
Message-ID: <20600050@inmet> (raw)
In-Reply-To: 24001@<900611181242


Re: Appending to a text file.

Leaving out "append" was probably a bug in Ada83.
Many compilers have provided a mechanism for open-with-append,
by an appropriate FORM string.  Check out the Appendix F of
your favorite compiler.

If all else fails, try pragma Interface to gain access to
the Unix Seek and Write.  You should be able to prepare
a string for output using the Text_IO.Put(TO: out String; ...),
and then pass its address and length directly to Unix Write.

S. Tucker Taft
Intermetrics, Inc.
Cambridge, MA  02138

       reply	other threads:[~1990-06-13 13:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <24001@<900611181242>
1990-06-13 13:49 ` stt [this message]
1990-06-11 18:12 Append files using TEXT_IO Richard A Lehman, DMSTB
1990-06-13 21:27 ` Edward Falis
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox