Something in the far reaches of my mind tells me that you need to do
something like use a left paren instead of a bracket, like
IF A = 1 (PROD.PL PROG1.PROC
Can't try it right now to verify, though, sorry!
-Dianne
Bob Woodward wrote:
Hi folks,
Maybe I'm just missing the finer points of PROC processing. I've got a
MENU proc that's structured like this:
PQ
10 C Top of Main Menu
OA number of lines that display the available menu choices
...
OEnter choice +
IP:
IF # A X
IF A = 1 [PROD.PL PROG1.PROC
IF A = 1 G 10
...
IF A = 99 [PROD.PL PROG99.PROC
IF A = 99 G 10
O
O That is not a valid menu choice.
O PRESS [ENTER] +
IP
G 10
My problem is when I come back from one of the PROGxx.PROC's, I'm not
getting the menu choice value back to execute the G 10 command. Instead
it displays the error message at the bottom. The PROGxx.PROC is
structured like this:
PQ
10 C Top of this PROC
Ha number of things stuffed into the output buffer
P
Hmore things happen in the output buffer
P
RTN
P
999 C should never get past this point
OI never see this message
X
Now keep in mind that I've trimmed down the PROC's to keep this message
fairly short. Everything is working as expected EXCEPT the falling
through on the MAIN.MENU.PROC into the invalid menu choice message.
Anyone have any insight to my problem?
TIA
BobW
-------
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/