From: Frank Shixiang Yan <sxyan@hotmail.com>
Subject: put a character back to the input stream
Date: 1999/10/23
Date: 1999-10-23T00:00:00+00:00 [thread overview]
Message-ID: <3811B324.D0CC49A3@hotmail.com> (raw)
is there any function in ada which can put a read character back to the
input stream like cin.putback(c) in c++. it happens when i have a input
which i read a character each time
"name + 342"
when i found a digit, i know the whole thing's gonna be a number, so i
put the read digit back, then read the whole number. the same thing
happens for the string too. so i need a function to put back the current
read character back to avoid lose the first character.
thanks
next reply other threads:[~1999-10-23 0:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-23 0:00 Frank Shixiang Yan [this message]
1999-10-23 0:00 ` put a character back to the input stream nabbasi
1999-10-24 0:00 ` Robert Dewar
1999-10-25 0:00 ` Ted Dennison
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox