Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
Can any one let me know how to compare a variable value inside IF statement?
For eg: If $(vPlant) = 'HCM123' then
.....
....
else
....
EndIF.
Is this syntax correct? If yes,It is not working for me.Could you pls suggest me an another alternative.
I have also tried the same with Match function but still not able to execute the stmts inside if.
Thanks.
If you have declared the variable with LET try
If vPlant = 'HCM123' then ...
so the variable without $ and ()
If you have declared the variable with LET try
If vPlant = 'HCM123' then ...
so the variable without $ and ()
Thank you Alex,it worked for me...