Hi guys, i am new here. 🙂 I have a problem with IF/Else statement, but only in GUI. If i put only one if statement, like this
if s=='Add'f=x+y;end
It works, but when i add this:
if s=='Add'f=x+y;endif s=='Substract'f=x-y;end
It doesn't work.Also, if i only use
if s=='Substract' f=x-y; end
it works.I don't have a clue why is this happening.Any idea?
Best Answer