Joined: 14 Mar 2007 Posts: 8704 Location: Back in jolly old England
And the relevance to the topic that you tagged this onto is ? apart from it being REXX related.
If you have a new problem then start a new topic, not add on to one that was started over 10 years ago. Not only is it clearer to other users but it also saves me the time and effort of splitting it off.
Also, please use the code tags - not difficult as you can see
Your stuff here
Have you tried the "Esc" key ?
Maybe it's just me, but your use of the same index for two different stems seems waaaaaaaaaay crazy.
Maybe, just maybe if you explain exactly what it is that you are trying to achieve that we can point you in the direction of something on the forum that already exists.
Use 'TO' instead of 'FOR'.
I have had situations where the only way to terminate a loop was to cancel the session, but usually the ATTN or PA1 key should do the trick. Sometimes you have to hit the key more than once.