caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] catch keypressed
@ 2002-05-02 10:23 Vincent Barichard
  2002-05-02 17:26 ` Remi VANICAT
  2002-05-02 18:02 ` Gerd Stolpmann
  0 siblings, 2 replies; 4+ messages in thread
From: Vincent Barichard @ 2002-05-02 10:23 UTC (permalink / raw)
  To: CAML-LIST


Hello,

I would like to catch the hit of a key without being in graphic
mode. Something like :

while not keypressed() do
  print_string "Hit a key";
done;

Is a fonction of this kind exists in CAML ??
And if it doesn't exist, is there a way to simulate its effect ??
The read_int fonction blocks until user enter a value so it is not
suitable for my problem.

thanks for your help

Vincent


Vincent Barichard
Métaheuristiques et Optimisation Combinatoire
Faculté des Sciences d'Angers
Tel : 02 41 73 52 06
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-05-03 13:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-02 10:23 [Caml-list] catch keypressed Vincent Barichard
2002-05-02 17:26 ` Remi VANICAT
2002-05-02 18:02 ` Gerd Stolpmann
2002-05-03 13:33   ` Vincent Barichard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).