From: mheaney@ni.net (Matthew Heaney)
Subject: Re: File handling
Date: 1997/10/15
Date: 1997-10-15T00:00:00+00:00 [thread overview]
Message-ID: <mheaney-ya023680001510972111410001@news.ni.net> (raw)
In-Reply-To: 343F4BE1.F669CC82@norssi.helsinki.fi
In article <343F4BE1.F669CC82@norssi.helsinki.fi>, horn@norssi.helsinki.fi
wrote:
>Is the package Ada.Text_IO only way to handle files?
>Are there procedures like Turbo Pascal's BlockRead and
>BlockWrite in Ada 95?
I haven't done any Turbo Pascal programming in a while, so I'm not sure
what you mean by BlockRead and BlockWrite. But there are other I/O
pacakges in Ada:
Ada.Sequential_IO
Ada.Direct_IO
Ada.Streams.Stream_IO
One of the strengths of Ada is that, by a very deliberate design choice,
I/O wasn't built into the language (they didn't want to marry the language
to I/O technology that would become obsolete in a few years; see the Ada 83
Rationale for the gory details). Yes, Ada comes with predefined I/O
packages (the ones listed above), but if these don't meet your needs then
you can just roll your own I/O package that does what you exactly what you
want.
--------------------------------------------------------------------
Matthew Heaney
Software Development Consultant
<mailto:matthew_heaney@acm.org>
(818) 985-1271
prev parent reply other threads:[~1997-10-15 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-10-11 0:00 File handling Hannu �rn
1997-10-13 0:00 ` Kenneth W. Sodemann
1997-10-15 0:00 ` Matthew Heaney [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox