If statement problem comparing integers in CB_5.1.0
Anyone can tell me why this is not working ?
(*X & Y are integers, X=0 and Y=2*)
if X < Y then (*won't set this statement as TRUE... why??*)
(*if I do it like this, then it's no problem*)
(*Z is boolean*)
Z := X < Y;
if Z then
Any help would be appreciated.
I am using Compact Control Builder AC800M, 5.1.0/1 (Build 126.96.36.199)