comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de>
Subject: Re: Ada way to read/write to character file
Date: Thu, 10 Jan 2002 23:13:17 +0000 (UTC)
Date: 2002-01-10T23:13:17+00:00	[thread overview]
Message-ID: <a1l76d$9sf$1@a1-hrz.uni-duisburg.de> (raw)
In-Reply-To: m3y9j7gsz1.fsf@jupiter.solar.system

Michael Bode <m.g.bode@web.de> wrote:
: I'm not 100% sure as this is my first real Ada program, but I
: would expect no problems with this and Ada.Text_IO.

Nor am I but I would expect problems, e.g. with long lines.
If you consult the RM for this, A.10.2 ff, you will see that
you have to take care of automatically inserted characters,
and more.
(CR LF/CR/LF have proven to be a rich source of all sorts of
surprisingly obnoxious data driven trouble.)

:  But for my small world
: of Windows and Linux PCs Ada.Text_IO with a r/w mode would work.

I still think this might be true for the Unix or WinDOS/2 notion
of text (vs. raw/binary), but not for Ada's.


Georg



  parent reply	other threads:[~2002-01-10 23:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-05 12:01 Ada way to read/write to character file Michael Bode
2002-01-07 15:13 ` Alfred Hilscher
2002-01-09  0:04   ` Nick Roberts
2002-01-09  2:12     ` tmoran
2002-01-09  6:25       ` Michael Bode
2002-01-09 16:12         ` Georg Bauhaus
2002-01-09 20:38           ` Michael Bode
2002-01-09 23:57             ` James Rogers
2002-01-10  6:17               ` Michael Bode
2002-01-10 23:13             ` Georg Bauhaus [this message]
2002-01-09 12:11       ` Nick Roberts
2002-01-09 14:17         ` Ted Dennison
2002-01-11  0:19           ` Nick Roberts
2002-01-12 16:01             ` Michael Bode
replies disabled

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