get_char and other issues
From: vertigo (none_at_microsoft.com)
Date: 06/10/04
- Next message: vertigo: "conversion char -> int ?"
- Previous message: Torkel Franzen: "Re: Discussion: Is prolog domain specific?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 10 Jun 2004 11:43:45 +0200
Hello
I use swi-prolog.
I wanted to read character typed from keyboard, but to "accept"
this chracter i have to press enter. But after that my program displays
only one result (and finishes saying "yes", so there are more results).
The problem is that enter in swi-prolog finishes reading characters and
finishes displaying other issues (which are normally printed after ';').
How can i solve this problem ?
I want to read one character from keyboard, and still have possibility
to press ';' to receive other issues.
Thanx
Michal
- Next message: vertigo: "conversion char -> int ?"
- Previous message: Torkel Franzen: "Re: Discussion: Is prolog domain specific?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|