The first expression is ok, and it works for me:
This will print "3" as expected.
What problem are you having in the first case? Can you elaborate further, please?
Also, can you report which compiler version are you using?
Code:
X = 2
T = 9
IF X=1 THEN
X=2
ELSEIF X=2 AND T< 10 THEN
X=3
END IF
PRINT X
What problem are you having in the first case? Can you elaborate further, please?
Also, can you report which compiler version are you using?