View previous topic :: View next topic
|
Author |
Message |
keerthi
New User
Joined: 23 Mar 2005 Posts: 25
|
|
|
|
can we use IF Statement with in Evaluate.
thank,s
keerthi. |
|
Back to top |
|
|
somasundaran_k
Active User
Joined: 03 Jun 2003 Posts: 134
|
|
|
|
Keerthi,
You mean something like
Code: |
EVALUATE TRUE
WHEN X = Y
IF A = B
do some thing
END-IF
WHEN ---
----
---
END-EVALUATE.
|
Of course you can do it.
hth
-Som |
|
Back to top |
|
|
kanak
Moderator
Joined: 12 Mar 2005 Posts: 252 Location: India
|
|
|
|
yes keerthi
you can do it any way..i.e one somasundaran_k has explained as well as inside if you can check for evaluate. both wau it is possible. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
I know this is really just a matter of taste, but I like to use the opposite; it seems to "read" better:
Code: |
IF FLD-A = 6
EVALUATE FLD-B
WHEN 12 .....
.....
END-EVALUATE
END-IF |
|
|
Back to top |
|
|
|