comp.lang.ada
 help / color / mirror / Atom feed
From: christoph.grein@eurocopter.com
Subject: Re: C getchar() functionality in Ada
Date: Wed, 18 Feb 2009 03:42:49 -0800 (PST)
Date: 2009-02-18T03:42:49-08:00	[thread overview]
Message-ID: <6ce2e336-a054-4a68-bc15-34976c98d6cd@m42g2000yqb.googlegroups.com> (raw)
In-Reply-To: t7egng.77k.ln@hunter.axlog.fr

On Feb 18, 8:43 am, Jean-Pierre Rosen <ro...@adalog.fr> wrote:
> Look_Ahead has a parameter to tell when you are at end of line. The
> behaviour of Get_Immediate is less clear from the RM.

Get_Immediate falls a bit out of Text_IO, since it does not update the
column, line and page counts.

It returns the next character in the file. If EoL is coded as
characters, it will return them, else it will silently skip to the
next line and return the first character. It simply returns any
Control characters that might be in the file, other than the Get
routines.



  reply	other threads:[~2009-02-18 11:42 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-16 20:36 C getchar() functionality in Ada Thomas Locke
2009-02-16 21:43 ` Jeffrey R. Carter
2009-02-17  7:23   ` Thomas Locke
2009-02-17  8:16     ` Niklas Holsti
2009-02-17 13:01       ` Georg Bauhaus
2009-02-17 22:03         ` Thomas Locke
2009-03-03  8:57         ` David Thompson
2009-02-17 20:48     ` Jeffrey R. Carter
2009-02-17 21:59       ` Thomas Locke
2009-02-16 23:46 ` Adam Beneschan
2009-02-17  7:19   ` Thomas Locke
2009-02-17  8:37     ` Jacob Sparre Andersen
2009-02-17 17:31       ` Keith Thompson
2009-02-17 14:57     ` Hibou57 (Yannick Duchêne)
2009-02-17 14:55   ` Hibou57 (Yannick Duchêne)
2009-02-17 10:37 ` m.collado
2009-02-17 22:07   ` Thomas Locke
2009-02-17 16:40 ` Jean-Pierre Rosen
2009-02-17 19:46   ` Thomas Locke
2009-02-17 20:24     ` Hyman Rosen
2009-02-17 23:44       ` Robert A Duff
2009-02-18  5:44         ` anon
2009-02-18  0:39       ` Adam Beneschan
2009-02-18  7:43     ` Jean-Pierre Rosen
2009-02-18 11:42       ` christoph.grein [this message]
2009-02-17 20:38   ` Jeffrey R. Carter
2009-02-18  7:46     ` Jean-Pierre Rosen
2009-02-18 10:41       ` christoph.grein
replies disabled

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