-
Notifications
You must be signed in to change notification settings - Fork 7
Description
At the end of section 3 (Bytes), there is the following quote:
There are also attributes for bitwise operations:
★and,★or,★xor,★not,★left, and★right.
Which implies that not is the bitwise complement operation, and that and/or/xor also operate bitwise.
For example, not 00-00 would be FF-FF.
However, on the same page, towards the end of subsection 4.2 (Bool), there is the following
The
notattribute is a Boolean inversion. Attributesand,or,xorare logical conjunction, disjunction, and exclusive disjunction of the object itself with an a array of other Boolean values.
Which implies that these operations are logical (meaning they operate only on true/false values).
For example, not of 00-00 would be 00-01.
Which of these variants is the correct one?
And as an additional question, what is meant by "an a array of other Boolean values"? Do these operations accept an array as an argument or just one other value?