Jump to content

Logical operations: Difference between revisions

(Frink)
Line 1,424:
<lang frink>logical[a,b] :=
{
println["$a and $b is " + (a and b)]
println["$a or $b is " + (a or b)]
println["not $a xor $b is " + (not a xor b)]
println["$a nand $b is " + (a nand b)]
println["$a nor $b is " + (a nor b)]
println["not $a is " + (not a)]
}</lang>
 
490

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.