I have written a routine to examine the INKEY to catch the
function keys of F1 thru F12, and if caught, do whatever is
assigned to that key.
First time the routine kicks in, it CORRECTLY identifies the
F key pressed, and passes it back to the line that called it.
Now the second time the routine kicks in, it correctly
identifies the F key pressed (I have watched the debugger), but
as soon as it hits the RETURN statement, all my variables for
identifying the key pressed get cleared.
I need for this NOT to clear when returning. Can anyone
help out please?
Thank you.
------------------
[This message has been edited by Robert Carneal (edited April 08, 2003).]
function keys of F1 thru F12, and if caught, do whatever is
assigned to that key.
First time the routine kicks in, it CORRECTLY identifies the
F key pressed, and passes it back to the line that called it.
Now the second time the routine kicks in, it correctly
identifies the F key pressed (I have watched the debugger), but
as soon as it hits the RETURN statement, all my variables for
identifying the key pressed get cleared.

I need for this NOT to clear when returning. Can anyone
help out please?
Thank you.
------------------
[This message has been edited by Robert Carneal (edited April 08, 2003).]
Comment