Re: Problem in detecting user input with 4GL
Posted in 1995
In article <D4u7o3.753@cix.compulink.co.uk>, kenzo@cix.compulink.co.uk ("P Jabbal") says: > The following code has been sent: <mega-snip> > > CALL set_count(10) > > INPUT ARRAY fa_cl_ap WITHOUT DEFAULTS FROM scr_ap.* > BEFORE ROW EXIT INPUT > END INPUT > --- I need to test at this point if the user has pressed , say, a > --- function key to allow the > --- program to go off (e.g. call a function ) and do some > --- unrelated processing 'PROMPT' should do the trick as long as your Informix version allows the full 'PROMPT ... ON KEY ... END PROMPT' syntax. If not you may be best advised to get one which does (4.10 or later)! The only way I have found to alter the INTERRUPT is to use 'stty' in the shell - we set it to '^Z' instead of '^C' or 'DEL'. Cheers Sally