Page 1 of 1

### EVALUATE ALSO

Posted: Sun Feb 26, 2006 12:22 pm
Hi all,
can anyone tell me wat does ALSO stands for in EVALUATE statement
will it work like AND in IF

ex:
Evaluate A ALSO b
WHEN 9 also 8
display 'hi'
end-evaluate

is this similar to IF A = 9 AND B = 8

Posted: Tue Feb 28, 2006 9:04 am
HI,
Hi all,
can anyone tell me wat does ALSO stands for in EVALUATE statement
will it work like AND in IF

ex:
Evaluate A ALSO b
WHEN 9 also 8
display 'hi'
end-evaluate

is this similar to IF A = 9 AND B = 8
Yes you are right, ALSO is similar to AND.

Hope this helps

Regards
Rupesh

Posted: Fri Mar 10, 2006 1:02 pm
Hi yes you are correct...it works like AND operator

### ALSO

Posted: Sat Apr 22, 2006 3:21 pm
HI,

U ARE RIGHT,IT WORKS LIKE AND BUT THE DIFFERENCE IS IF THE FIRST CONDITION FAILS IT WON'T CHECK SECOND CONDITION
So unnessary checking of second condition is avoided,,so it minimise the time of execution
i.e.
A = 7
B = 8
Evaluate A ALSO b
WHEN 9 also 8
display 'hi'
end-evaluate

a value is not equal to 9 so it won't check b value

Posted: Mon Apr 24, 2006 10:32 am
kvenkat_b4u,

When you use an AND condition it is must that you are checking for all the conditions to be true. So, what is the special about here about this? ALSO and AND are meant to be the same.

HTH.

### ALSO

Posted: Mon Apr 24, 2006 5:39 pm
hi Arrbee,

if Condition1 AND Condition2 then

even if the condition1 fails, Still it is going and checking the condition2!!!!!

if Condition ALSO Condition2 then

IF The condition1 fasil it won't check the condition2, i.e it simply ignore the codtition2!!!..What a difference

i think it's enough ,,,still u have a doubt continue the debate....

Posted: Tue Apr 25, 2006 1:23 pm
Ok. Any code examples do you have? How the output looked in the SYSOUT when you executed it?