-=-=-=-=-=-=-=-=-=-=-=- ATTENTION -=-=-=-=-=-=-=-=-=-=-=-
I found the answer to this issue. If you replace the ‘%’ char with ‘@’ in the SET KEY statements, it works. Go figure! Hope this helps someone else.
Hi Steve, I saw your reply, which I have tried it in my code, but I keep getting:
NAT0080 Command / program name must start with a letter.
I set the PF7/PF8 keys in my Program…
SET KEY PF7='%W-' NAMED 'Up'
SET KEY PF8='%W+' NAMED 'Down'
I have an External Map with a field that has a Helproutine. In that Helproutine, I define a window, and use that window for an Internal Map (INPUT WINDOW=‘HELPWIN’). This window has more choices than will display in the window, and I see the “More: +” on the top, right of the window. If I double-click the ‘+’, it scrolls down. But if I press PF8, I get the error.
It seems as though the current program is terminated, and the terminal command ‘%W+’ is invoked via the Natural stack. Because I am left at the NEXT prompt, with my terminal command shown with the error msg.
Any ideas/suggestions would be greatly appreciated. Thanks!
Systems Analyst veteran (Natural newbie)