What is the use of evaluate statement give example?
When we have to resort to different actions depending on the value of a variable: we can use Evaluate-endevaluate. It is just like Switch case in C language. Eg: move ’12’ to Month. evaluate Month when ’12’ display ‘you are right’ when ’01’ display ‘it is not new year dear!’ when other display ‘try again Boy!’ end-evaluate. So it will display three different strings depending on what is moved into the variable Month.