Xorvarvar: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
One (talk | contribs)
No edit summary
Line 1: Line 1:
xorvarvar <gamevar1> <gamevar2>
'''xorvarvar''' <gamevar1> <gamevar2>


This function gives the result of a XOR function of the [[gamevar]] <gamevar1> with the [[gamevar]] <gamevar2>. The function checks the bits of the two values being compared, and the bits in the result are set if one, and only one, of the values being operated on has those bits set.  See [[xorvar]].
This function gives the result of a XOR function of the [[gamevar]] <gamevar1> with the [[gamevar]] <gamevar2>. The function checks the bits of the two values being compared, and the bits in the result are set if one, and only one, of the values being operated on has those bits set.  See [[xorvar]].

Revision as of 12:42, 4 May 2009

xorvarvar <gamevar1> <gamevar2>

This function gives the result of a XOR function of the gamevar <gamevar1> with the gamevar <gamevar2>. The function checks the bits of the two values being compared, and the bits in the result are set if one, and only one, of the values being operated on has those bits set. See xorvar.