Hi everyone.
I am a newbie to WebFocus and I know there must be an easy answer to this but I have not found it so far. Here is what I am trying to do:
1) Prompt the user for a param
eg: Param1=10
2) calculate a second variable based on first variable
eg: Param2=Param1+10 (param2 should be 20)
3) call a second fex procedure from the first
I can handle steps 1 and 3 no problem. It is number 2 that I am having trouble with.
I have tried:
-DEFAULTS &PARAM1=10
-DEFAULTS &PARAM2=&PARAM1.EVAL+10
and I end up with PARAM2=10+10 instead of PARAM2=20. I cannot figure out how to cause the 10+10 to be processed before the assignment to PARAM2.
Any ideas? I know there must be something obnvious that I am missing. I have tried forcing the format to /I2 and that does not help.
Thanks in advance.
I am a newbie to WebFocus and I know there must be an easy answer to this but I have not found it so far. Here is what I am trying to do:
1) Prompt the user for a param
eg: Param1=10
2) calculate a second variable based on first variable
eg: Param2=Param1+10 (param2 should be 20)
3) call a second fex procedure from the first
I can handle steps 1 and 3 no problem. It is number 2 that I am having trouble with.
I have tried:
-DEFAULTS &PARAM1=10
-DEFAULTS &PARAM2=&PARAM1.EVAL+10
and I end up with PARAM2=10+10 instead of PARAM2=20. I cannot figure out how to cause the 10+10 to be processed before the assignment to PARAM2.
Any ideas? I know there must be something obnvious that I am missing. I have tried forcing the format to /I2 and that does not help.
Thanks in advance.