Orvar: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
 
One (talk | contribs)
No edit summary
Line 1: Line 1:
orvar <gamevar> <value>
'''orvar''' <gamevar> <value>


This function gives the result of an OR function of the [[gamevar]] <gamevar> with <value>. The function checks the bits of the two values being compared and the bits in the result are set only if they were set in either of the values being operated on.  See [[orvarvar]].
This function gives the result of an OR function of the [[gamevar]] <gamevar> with <value>. The function checks the bits of the two values being compared and the bits in the result are set only if they were set in either of the values being operated on.  See [[orvarvar]].

Revision as of 13:14, 4 May 2009

orvar <gamevar> <value>

This function gives the result of an OR function of the gamevar <gamevar> with <value>. The function checks the bits of the two values being compared and the bits in the result are set only if they were set in either of the values being operated on. See orvarvar.