Getting last key pressed in 4GL
Posted in 1994
Hello out there, I want to implement the following mechanism with 4GL: A database is polled every 3 seconds and some sums are displayed on screen. This is programmed in a endless loop. In this loop I check for pressing of the INTERRUPT key by checking the value of int_flag. If this button is pressed the user will end the endless loop. Everything is working fine. But now my question. I want to use other keys to start printing of the current shown sums or to switch the display. Till now, I don't have found any solution to get the last key pressed by user except the INTERRUPT key. Has anybody any idea to solve this problem. Any hints are appreciated... Dirch -- +----------------------------------------------------------------------------+ | Dirch Scheer email: scheer@stadt-mh.de | | Amt 10-3 Tel. : +49 208 455 1006 | | Stadtverwaltung (snail-)Mail : Ruhrstr. 32 | | Muelheim an der Ruhr D-45468 Muelheim an der Ruhr | |----------------------------------------------------------------------------| | Inspiration gave them the motivation to move on out their isolation | +----------------------------------------------------------------------------+