summaryrefslogtreecommitdiffstats
path: root/test/13-relational-operators-01.txt
blob: 8ce4434c3e44bc9b78b01cbd1e814a439c526f95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
%% Test for relational operators with in-line numbers.
%mode init
A1=1=1
A2=1=2
A3=1*6=2*3
A4=1<4
A5=4<4
A6=4>2
A7=68>123
A8=1>=1
A9=1>=2
A10=2>=0
A11=45<>12
A12=33<>33
%calc
%mode result
A1=1
A2=0
A3=1
A4=1
A5=0
A6=1
A7=0
A8=1
A9=0
A10=1
A11=1
A12=0
%check
%exit