comp.lang.ada
 help / color / mirror / Atom feed
* ada 83 open file for append
@ 1999-06-28  0:00 Robert L. Spooner
  1999-06-29  0:00 ` Joe Wisniewski
       [not found] ` <7lu1l0$ic0$1@ionews.ionet.net>
  0 siblings, 2 replies; 4+ messages in thread
From: Robert L. Spooner @ 1999-06-28  0:00 UTC (permalink / raw)


Can anyone tell me how I can open an existing text_io file for append
using VADSworks Ada ('83)?

I have been unable to find documentation for the Form parameter which is
what I would expect to use to specify an open for append.  I am aware
that Ada 95 has Append_File as a value for the Mode parameter, but that
is unavailable in Ada 83.

Thanks,
Bob
--
                               Robert L. Spooner
                         Registered Professional Engineer
                               Research Assistant
                         Intelligent Control Systems Group

            Applied Research Laboratory        Phone: (814) 863-4120
            The Pennsylvania State University  FAX:   (814) 863-7841
            P. O. Box 30
            State College, PA 16804-0030       rls19@psu.edu






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

* Re: ada 83 open file for append
  1999-06-28  0:00 ada 83 open file for append Robert L. Spooner
@ 1999-06-29  0:00 ` Joe Wisniewski
       [not found] ` <7lu1l0$ic0$1@ionews.ionet.net>
  1 sibling, 0 replies; 4+ messages in thread
From: Joe Wisniewski @ 1999-06-29  0:00 UTC (permalink / raw)


Robert,

I think I remember reading somewhere that a Posix binding for Ada83
on some compilers had an "Open/Append" capability.

Good luck

Joe

Robert L. Spooner wrote in message <37777884.FB308E63@psu.edu>...
>Can anyone tell me how I can open an existing text_io file for append
>using VADSworks Ada ('83)?
>
>I have been unable to find documentation for the Form parameter which is
>what I would expect to use to specify an open for append.  I am aware
>that Ada 95 has Append_File as a value for the Mode parameter, but that
>is unavailable in Ada 83.
>
>Thanks,
>Bob
>--
>                               Robert L. Spooner
>                         Registered Professional Engineer
>                               Research Assistant
>                         Intelligent Control Systems Group
>
>            Applied Research Laboratory        Phone: (814) 863-4120
>            The Pennsylvania State University  FAX:   (814) 863-7841
>            P. O. Box 30
>            State College, PA 16804-0030       rls19@psu.edu
>
>






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

* Re: ada 83 open file for append
       [not found]   ` <JMYShxEy#GA.194@newstoo.hiwaay.net>
@ 1999-07-08  0:00     ` Robert Dewar
  1999-07-10  0:00     ` Kevin Krieser
  1 sibling, 0 replies; 4+ messages in thread
From: Robert Dewar @ 1999-07-08  0:00 UTC (permalink / raw)


In article <JMYShxEy#GA.194@newstoo.hiwaay.net>,
  "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com> wrote:
> The correct syntax for the Form parameter is operating
> environment-dependent.
>
> It should be described in Appendix F of your compiler's
> documentation.

*if* it is implemented! There is no requirement in Ada 83
for providing append functionality.

However, the standard Ada Posix interface does contain this
functionality in a portable manner, so you should find an
Ada 83 technology that provides Ada Posix support.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.




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

* Re: ada 83 open file for append
       [not found]   ` <JMYShxEy#GA.194@newstoo.hiwaay.net>
  1999-07-08  0:00     ` Robert Dewar
@ 1999-07-10  0:00     ` Kevin Krieser
  1 sibling, 0 replies; 4+ messages in thread
From: Kevin Krieser @ 1999-07-10  0:00 UTC (permalink / raw)



David C. Hoos, Sr. <david.c.hoos.sr@ada95.com> wrote in message > The
correct syntax for the Form parameter is operating environment-
> dependent.
>
> It should be described in Appendix F of your compiler's documentation.
>
>

Actually, not only did I lookup in the documentation, but I also looked
through the source in the library.  There was a bug in the code where they
essentially ignored the Append, though it was in the code.






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

end of thread, other threads:[~1999-07-10  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-28  0:00 ada 83 open file for append Robert L. Spooner
1999-06-29  0:00 ` Joe Wisniewski
     [not found] ` <7lu1l0$ic0$1@ionews.ionet.net>
     [not found]   ` <JMYShxEy#GA.194@newstoo.hiwaay.net>
1999-07-08  0:00     ` Robert Dewar
1999-07-10  0:00     ` Kevin Krieser

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