Difference between revisions of "AMOSi:Not"
Spellcoder (talk | contribs) m (1 revision(s)) |
Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile) |
(No difference)
|
Revision as of 02:45, 17 November 2007
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"