Maybe I'm being overly simplistic here as I haven't seen the code, but if you are trying to pause loop processing why not just
ASSERT lastkey()<>(the value of key you are trying to pause on)
?
____________________________________
Don't Tread on Me
Overthrow the federal government NOW!
____________________________________