Andvar

From EDukeWiki
Revision as of 19:57, 20 January 2009 by 67.208.52.209 (talk)
Jump to navigation Jump to search

andvar <gamevar> <value>

This function gives the result of an AND function of the gamevar <gamevar> with <value>. The result goes into <gamevar>. 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. See andvarvar.