From mboxrd@z Thu Jan 1 00:00:00 1970 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R.Carter" Newsgroups: comp.lang.ada Subject: Re: get_immediate echoe character--compiled error? Date: Wed, 4 Oct 2023 23:14:11 +0200 Organization: A noiseless patient Spider Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 4 Oct 2023 21:14:11 -0000 (UTC) Injection-Info: dont-email.me; posting-host="c7e3e1e64b3dc17248dbb7b5d1f3ccc0"; logging-data="461960"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+h1xlu3b7iM6lTeYOxXxwCO6ez38Upln4=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:zugeK92FpdnDiyRUMLDUIK6eCvY= Content-Language: en-US In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:65784 List-Id: On 2023-10-02 04:42, richardthiebaud wrote: > > with ada.text_io; use ada.text_io; > procedure test3 is >   c: character; >   avail: boolean; > begin >   loop >     loop >       Get_Immediate(c, Avail); >       if Avail then >         exit; >       end if; >       delay 0.01; >     end loop; >   end loop; > end test3; I should have checked this earlier, but this does not echo with ObjectAda. -- Jeff Carter “[A]bout half the patterns in the 'Gang of Four' book only exist because of defects in C++ ...” Brian Drummond 174