comp.lang.ada
 help / color / mirror / Atom feed
From: Lao Xiao Hai <laoxhai@ix.netcom.com>
Subject: Re: Get is the only way ?
Date: Sun, 18 Mar 2001 14:33:06 -0800
Date: 2001-03-18T22:35:02+00:00	[thread overview]
Message-ID: <3AB537A2.C739CB41@ix.netcom.com> (raw)
In-Reply-To: u3dclrark.fsf@wanadoo.fr



Pascal Obry wrote:

> "Snooze" <snooze-18@sympatico.ca> writes:
>
> > I want have a "break" and only continuous when user press ENTER ( but only
> > this .. ) .. but i can't with GET ...
> >
> > and .. a other question ..
> > it's possible .. that the user can enter only 1 press .. exemple : 'Y'
> > and don't need press after on the enter ..   like  GETCH in language C
>
> You should definitly read an Ada text book :) Just look for Get_Immediate in
> Ada.Text_IO.

If you design with Ada tasks, you can design so Get_Immediate is checking the
buffer, accepting a character, examining the character to see if you want to do
something with it, etc.

Richard Riehle




  reply	other threads:[~2001-03-18 22:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-10  7:37 Get is the only way ? Snooze
2001-03-10 12:19 ` Jeffrey Carter
2001-03-10 13:53 ` Pascal Obry
2001-03-18 22:33   ` Lao Xiao Hai [this message]
2001-03-10 17:20 ` James 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