Re: input array help
Posted in 1996
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
> >Dennis Pimple (dennisp@informix.com) wrote: > >My favorite method of disabling insert and delete keys is to set >them to CONTROL-Q: > >OPTIONS INSERT KEY CONTROL-Q >OPTIONS DELETE KEY CONTROL-Q > >Since CONTROL-Q is trapped by the Unix OS as xon, nothing is passed >to the program even if the user hits the key. Trapping exceeding >array boundries is a bit trickier, utilizing the "goto" trick of >putting the INPUT ARRAY in a WHILE loop so you can go back to row 1 >if the user goes past the last filled-in row. This is well >documented in the FAQs, or ask me and I'll dig out an example for >you. This is a tricky way. But how to set it back enabling insert and delete keys after seting 'OPTIONS INSERT KEY CONTROL-Q'. We are working with Informix 4GL V4.11 on SNI RM400. The keyboard has special function keys for this two functions. The keys are named 'INSERT LINE', 'DELETE LINE'. Bye4now Peter ------------------------------------------------------------------ peter@ghost.phiger.com