More Automation docs updates.
Clarification of the xor function in utils.lua. Originally committed to SVN as r511.
This commit is contained in:
parent
4f2cceb3f5
commit
d3a4f9d1c1
2 changed files with 7 additions and 1 deletions
|
@ -169,5 +169,11 @@ end
|
|||
|
||||
-- Exclusive or of two boolean values
|
||||
function xor(a, b)
|
||||
return (a or b) and not (a and b)
|
||||
if a and not b then
|
||||
return a
|
||||
elseif b and not a then
|
||||
return b
|
||||
else
|
||||
return false
|
||||
end
|
||||
end
|
||||
|
|
BIN
docs/help.hmx
BIN
docs/help.hmx
Binary file not shown.
Loading…
Reference in a new issue