comp.lang.ada
 help / color / mirror / Atom feed
From: orion@cs.montana.edu (Jeremy D. Mullin)
Subject: nextc, getc and ungetc
Date: 1999/02/03
Date: 1999-02-03T02:58:00+00:00	[thread overview]
Message-ID: <798dvo$loq$1@netra.msu.montana.edu> (raw)

 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?

 TIA,
  J.D.
-- 




             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 Jeremy D. Mullin [this message]
1999-02-03  0:00 ` nextc, getc and ungetc dennison
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