blob: e6af552c5669aacd66f28682f1cedf0500d6936c [file] [log] [blame]
Jari Aalto726f6381996-08-26 18:22:31 +00001`Say' echos its argument. Its return value is of no interest.
2`Truth' echos its argument and returns a TRUE result.
3`False' echos its argument and returns a FALSE result.
4
5 Truth 1 && Truth 2 || Say 3 output=12
6( Truth 1 && Truth 2 ) || Say 3 output=12
7
8 Truth 1 && False 2 || Say 3 output=123
9( Truth 1 && False 2 ) || Say 3 output=123
10
11 False 1 && Truth 2 || Say 3 output=13
12( False 1 && Truth 2 ) || Say 3 output=13
13
14 False 1 && False 2 || Say 3 output=13
15( False 1 && False 2 ) || Say 3 output=13
16
17Truth 1 || Truth 2 && Say 3 output=13
18Truth 1 || ( Truth 2 && Say 3 ) output=1
19
20Truth 1 || False 2 && Say 3 output=13
21Truth 1 || ( False 2 && Say 3 ) output=1
22
23False 1 || Truth 2 && Say 3 output=123
24False 1 || ( Truth 2 && Say 3 ) output=123
25
26False 1 || False 2 && Say 3 output=12
27False 1 || ( False 2 && Say 3 ) output=12
28