From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, INVALID_MSGID,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,807c81be80f60569,start X-Google-Attributes: gid103376,public From: Frank Shixiang Yan Subject: put a character back to the input stream Date: 1999/10/23 Message-ID: <3811B324.D0CC49A3@hotmail.com>#1/1 X-Deja-AN: 539683951 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: typhoon.nyu.edu 940698537 216.165.3.160 (Sat, 23 Oct 1999 13:08:57 EDT) Organization: New York University MIME-Version: 1.0 Reply-To: sy278@is9.nyu.edu NNTP-Posting-Date: Sat, 23 Oct 1999 13:08:57 EDT Newsgroups: comp.lang.ada Date: 1999-10-23T00:00:00+00:00 List-Id: 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