Andvar: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
BlasterDRP (talk | contribs)
No edit summary
 
BlasterDRP (talk | contribs)
No edit summary
Line 1: Line 1:
andvar <name1> <value>
andvar <gamevar> <value>


This function gives the result of an AND function of the variable <name1> 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 both of the values being operated on.
This function gives the result of an AND function of the variable <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 both of the values being operated on.

Revision as of 21:41, 23 December 2004

andvar <gamevar> <value>

This function gives the result of an AND function of the variable <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 both of the values being operated on.