TomMartins wrote:
> What function can you call in 4gl that WAITS for a keystroke, and
> returns the key pressed?
Someone suggested PROMPT ... FOR CHAR; that sometimes does what you
want.
Otherwise, there is no standard function that does the job that is
documented. I have, I'm sure, contributed such a function in the
past, though I can't find it in the DejaNews archive or in the IIUG
web site. So, I will try and dig it out of my own archives later
and repost it. The 4J's compiler/runtime provides an fgl_getkey()
function equivalent to the one I'd provide. Note that the code would
be unsupported as far as Informix is concerned.
Yours,
Jonathan Leffler (jleffler@visa.com)