summaryrefslogtreecommitdiffstats
path: root/test/13-relational-operators-02.txt
blob: a9ab67e06f1023ce9145fda487d4dcbaab817c6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
%% Test for relational operators with referenced numbers.
%mode init
A1:1
A2:2
A3:3
A4=A1<A2
A5=A1>A2
A6=A1<>A2
A7=A1>=A2
A8=A1<=A2
A9=(A1+A2)=A3
A10=A1=A2
%calc
%mode result
A4=1
A5=0
A6=1
A7=0
A8=1
A9=1
A10=0
%check
%exit