the problem is that the sequence of if statments return a string while an integer is defined as datatype.
So change the type of variable in to string should solve the problem
Hi Jinbiao,
I think what you are looking for is a statement like:
If <condition 1> then “Do stuff”
else if <condition2> then “Do other stuff”
else if <condition3> then “Do something else”
else “Execute this part”
Hope this helps!
it doesn’t work.