diff options
Diffstat (limited to 'test/13-relational-operators-01.txt')
-rw-r--r-- | test/13-relational-operators-01.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/13-relational-operators-01.txt b/test/13-relational-operators-01.txt new file mode 100644 index 0000000..8ce4434 --- /dev/null +++ b/test/13-relational-operators-01.txt @@ -0,0 +1,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 |