langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
13
Task/Logical-operations/REBOL/logical-operations.rebol
Normal file
13
Task/Logical-operations/REBOL/logical-operations.rebol
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
logics: func [a [logic!] b [logic!]] [
|
||||
print ['and tab a and b]
|
||||
print ['or tab a or b]
|
||||
print ['not tab not a]
|
||||
print ['xor tab a xor b]
|
||||
|
||||
print ['and~ tab and~ a b]
|
||||
print ['or~ tab or~ a b]
|
||||
print ['xor~ tab xor~ a b]
|
||||
|
||||
print ['any tab any [a b]]
|
||||
print ['all tab all [a b]]
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue