What I am trying to do here is to VPUT two variables, 1 that contains the contents of MASK (ABC123 in this example) and one where the NAME of the VPUT'ed variable would be ABC123 and its contents would be 'FILE=FRED.BERT.JOHN,FNR=123Â§'
When I test the panel via 7;2, I end up with an error
Current dialog statement:
VPUT () PROFILE
Is there a way to get round this easily ? _________________ Michael
Joined: 02 Dec 2002 Posts: 614 Topics: 171 Location: Stockholm, Sweden
Posted: Sat Feb 23, 2019 3:39 am Post subject:
Thanks Nic for the suggestion.
I ended up not bothering with my solution. Instead, I designed it as I usually do, which means putting all the logic in the Rexx script that drives the panel.
To my way of thinking, it seems much easier. I don't need to worry about IF statements being correctly indented. I don't have to bother defining ALL my messages in a message library, as well as seeing (and wondering) what message DI123A actually contains.
For example, if I press a specific pfkey, then a filename should be checked for being non blank and valid. If I press a different one, then a blank filename is valid.
Easy in Rexx, not so much so in the )PROC section of a panel. _________________ Michael
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum