comp.lang.ada
 help / color / mirror / Atom feed
* Surely one can 'open append' in Ada?
@ 1986-10-01 14:59 Geoff Leach
  1986-10-06 17:19 ` Surely one can 'open append' in Ada mbate
  0 siblings, 1 reply; 2+ messages in thread
From: Geoff Leach @ 1986-10-01 14:59 UTC (permalink / raw)


I'm a little embarassed to be asking such a question, but I
can't figure out how to open an existing file for text-io
in such a manner as to cause the output to be appended
to the file.  Surely such an obvious function was not 
omitted ...


-- 
Geoffrey Leach
Consulting Programmer
(415)325-8717
{ucbvax,pyramid,oliveb,idsvax,bene,nsc}!tolerant!leach
Net access through the courtesy of Tolerant Systems

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Surely one can 'open append' in Ada
  1986-10-01 14:59 Surely one can 'open append' in Ada? Geoff Leach
@ 1986-10-06 17:19 ` mbate
  0 siblings, 0 replies; 2+ messages in thread
From: mbate @ 1986-10-06 17:19 UTC (permalink / raw)



   There is no "official" (that is, LRM-specified) way to do this in
Ada.  It is, however, one of those things that could legally be
included in an implementation in an implementation-dependent way.
Two ways come to mind:
         1.  A form string parameter.
         2.  Ada "standard output" is defined in the LRM as never
             opened or closed explicitly by the programmer.  It sounds
             much the same as UNIX standard output and therefore could
             be appended in a UNIX system via ">>".

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1986-10-06 17:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1986-10-01 14:59 Surely one can 'open append' in Ada? Geoff Leach
1986-10-06 17:19 ` Surely one can 'open append' in Ada mbate

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