comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com
Subject: Re: nextc, getc and ungetc
Date: 1999/02/03
Date: 1999-02-03T00:00:00+00:00	[thread overview]
Message-ID: <799pmk$gcm$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 798dvo$loq$1@netra.msu.montana.edu

In article <798dvo$loq$1@netra.msu.montana.edu>,
  orion@cs.montana.edu (Jeremy D. Mullin) wrote:
>  I am writing a scanner in Ada and was wondering if there was a "peek"
> function I could use to get a char from the input file but not move the
> file pointer. I found definitions for nextc, getc and ungetc in the
> text_io package but they are private declarations.
>  Does anyone know of the package/methods I should be using or of any
> resources on the web that might help me?

If you want that kind of flexibility, you should look into using direct_io
instead.

T.E.D.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  reply	other threads:[~1999-02-03  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-03  0:00 nextc, getc and ungetc Jeremy D. Mullin
1999-02-03  0:00 ` dennison [this message]
1999-02-03  0:00 ` James S. Rogers
replies disabled

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