Hi! Markus Gerwinski wrote:
After the first use of grKeyRead from the pascal interface of GRX, the ordinary "readln" doesn't work anymore. As it seems, the input is consumed before it reaches the screen.
GRX catches all keyboard (and mouse) input. Instead of file oriented I/O like Read, ReadLn (or scanf for that matter), use GrMouseGetEvent and friends. You can also use GrMouseGetEvent and friends to define your own Read/ReadLn through a TFDD, as Maurice already pointed out. Hope this helps, Peter -- http://home.pages.de/~Peter.Gerwinski/ - G-N-U GmbH: http://www.g-n-u.de Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-20010228 GnuPG key fingerprint: 9E7C 0FC4 8A62 5536 1730 A932 9834 65DB 2143 9422 keys: http://www.gerwinski.de/pubkeys/ - AntiSpam: http://spam.abuse.net