View previous topic :: View next topic
|
Author |
Message |
shriya reddy Warnings : 1 New User
Joined: 05 Jun 2004 Posts: 43
|
|
|
|
hi
please answer me difference between EVALUATE and EVALUATE TRUE.
Difference between CALL BY and CALL BY TEXT
Shriya |
|
Back to top |
|
|
anuradha
Active User
Joined: 06 Jan 2004 Posts: 247 Location: Hyderabad
|
|
|
|
hi Shriya,
Evaluate condition is used when you need to check the same variable with different values and evaluate true is used for checking different variables.
for eg: A can have values 1 or 2 or 3.
Evaluate A
when '1'
*******
when '2'
******
when '3'
*****
Even u can use evaluate true here like
Evaluate true
when a = '1'
****
when a = '2'
****
but generally used in cases like
evaluate true
when a='1'
********
when b='2'
**********
hope this is clear.
Thanks,
Anu |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
hi Shriya,
What anuradha says is true, but it doesn't go far enough.
Eval tests the "value" of a variable.
Eval TRUE tests the TRUTH of a "conditional" stmt.
These stmts can take various forms and levels of complexity, E.g.:
WHEN (FLD-A IS NUMERIC AND FLD-B >= FLC-C) OR FLD-Z = '10'
HTH, Jack. |
|
Back to top |
|
|
|