Page 1 of 1

what is the result when two conditions are true in evaluate

PostPosted: Sun Jan 18, 2015 7:39 am
by mcharitha
what is the result when two conditions are true in evalute .........??
ex:  variable=5
   evaluate variable
   when variable>2
   display '-------'
   when variable=5
   display '-------'
   when other
   display '*****'
   end-evaluate.


Code'd

Re: what is the result when two conditions are true in evalu

PostPosted: Mon Jan 19, 2015 12:33 am
by BillyBoyo
The manual describes how EVALUATE works.

With your code, it doesn't matter much. You have the same DISPLAY for greater than two and equal to five anyway.

What happened when you tried it? Not sure? DISPLAY someting different for the condition, then you'll know even if you didn't read the manual.