Andvarvar: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Mblackwell (talk | contribs)
mNo edit summary
 
No edit summary
Line 2: Line 2:


This function gives the result of an AND function of the [[gamevar]] <gamevar2> with the [[gamevar]] <gamevar2>. 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 both of the values being operated on. Also see [[andvar]].
This function gives the result of an AND function of the [[gamevar]] <gamevar2> with the [[gamevar]] <gamevar2>. 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 both of the values being operated on. Also see [[andvar]].
[[Category:EDuke commands]]
[[Category:Gamevar manipulation]]

Revision as of 07:31, 24 September 2005

andvarvar <gamevar1> <gamevar2>

This function gives the result of an AND function of the gamevar <gamevar2> with the gamevar <gamevar2>. 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 both of the values being operated on. Also see andvar.