AMOSi:Not

From Amiga Coding
Revision as of 02:45, 17 November 2007 by Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile)
Jump to: navigation, search

an example can be found on AMOSPro_Examples:Examples/H-5/Help_53.AMOS


Switches every binary digit in your number to a different state. It's commonly used as part of a IF..THEN statement to reverse the effect of the tests.


Print Bin$(Not %1010,4)
If Not (A=1 and B=2) Then Print "Successful"