☰
Debian Codegraph
@
1.5.5.8-1
/
/
examples
/
oper
/
oper_logic.ck
☽
☼
examples/oper/oper_logic.ck
code
plain
raw
GPL-2.0+
2004 Ge Wang and Perry R. Cook. All rights reserved.
debian/copyright
1
// chuck logical operators
2
3
<<<"AND">>>;
4
<<<true && true>>>;
5
<<<true && false>>>;
6
7
<<<"OR">>>;
8
<<<false || false>>>;
9
<<<true || false>>>;
10
11
<<<"==">>>;
12
<<< 2 + 2 == 4>>>;
13
<<< 2 + 2 == 5>>>;
14
15
<<<"!=">>>;
16
<<< 2 + 2 != 5>>>;
17
<<< 2 + 2 != 4>>>;