Deathbringer 0 Posted December 27, 2010 (edited) Edited January 8, 2011 by JosIsaFucktard Share this post Link to post Share on other sites
Jos 2,210 Posted December 27, 2010 (edited) In this case it's easy: 0x15 or 21 because BitAND has no purpose $i = BitAND(21, 0xFF) Edited December 27, 2010 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Share this post Link to post Share on other sites
Jos 2,210 Posted December 27, 2010 Oops, I guess I should have Googled more before posting. A bitwise AND operation cannot be reversed.correct.. you can only figure out all possible options (except for the one you gave as example. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Share this post Link to post Share on other sites