comp.lang.ada
 help / color / mirror / Atom feed
From: Kilgallen@SpamCop.net (Larry Kilgallen)
Subject: Re: Get_Line problem (GNAT bug?)
Date: 7 Dec 2006 22:04:14 -0600
Date: 2006-12-07T22:04:14-06:00	[thread overview]
Message-ID: <SuJHCRRvsiCg@eisner.encompasserve.org> (raw)
In-Reply-To: wccfybrtj5h.fsf@shell01.TheWorld.com

In article <wccfybrtj5h.fsf@shell01.TheWorld.com>, Robert A Duff <bobduff@shell01.TheWorld.com> writes:

> I think the Unix idea -- "line terminator (or separator?) = a particular
> character" -- is a pretty convenient model.  It's certainly convenient
> for parsing input text: read one char at a time, and deal with it,
> treating end-of-line as one possible case.  E.g., an Ada compiler
> typically works that way.

It constrains the ASCII values that can be in a record.  That may not
be important for compilers but I write programs where record boundaries
different from "new line" is quite useful in the output files.

> To represent end-of-line as TWO characters is just plain stupid.

I will raise (lower) your TWO characters and say that inline record
boundaries are foolish.



  parent reply	other threads:[~2006-12-08  4:04 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-06 14:25 Get_Line problem (GNAT bug?) Maciej Sobczak
2006-12-06 18:06 ` Adam Beneschan
2006-12-06 20:34 ` Gautier
2006-12-06 21:47 ` Dmitry A. Kazakov
2006-12-06 23:40   ` Adam Beneschan
2006-12-07  0:02     ` Björn Persson
2006-12-07  1:09       ` Adam Beneschan
2006-12-07  1:28         ` Björn Persson
2006-12-07  5:00         ` Jeffrey R. Carter
2006-12-07  8:26   ` Maciej Sobczak
2006-12-07  9:21     ` Jean-Pierre Rosen
2006-12-07 13:35       ` Ludovic Brenta
2006-12-07 22:23       ` Robert A Duff
2006-12-07 10:22     ` Dmitry A. Kazakov
2006-12-07 14:51       ` Maciej Sobczak
2006-12-07 16:29         ` Dmitry A. Kazakov
2006-12-08  8:22           ` Maciej Sobczak
2006-12-07 22:50       ` Robert A Duff
2006-12-08  0:13         ` Randy Brukardt
2006-12-08  4:04         ` Larry Kilgallen [this message]
2006-12-08  9:11         ` Dmitry A. Kazakov
2006-12-07  9:14   ` Jean-Pierre Rosen
2006-12-07  3:34 ` Steve
2006-12-07 17:42   ` Adam Beneschan
2006-12-07 22:35     ` Robert A Duff
replies disabled

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