Difference between revisions of "AMOSi:Bchg"

From Amiga Coding
Jump to: navigation, search
m (1 revision(s))
 
m (1 revision(s))
 
(No difference)

Latest revision as of 01:51, 17 November 2007

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


Flips the selected bit in the number from 0 to 1 or vice versa.


Bchg position,variable

Affects the contents of a single AMOS variable.


Position holds a value from 0 to 31 which enters the bit number to be changed.


Bchg position,expression

If you use an expression rather than a simple variable, BGHG will treat it as the ADDRESS in memory of a value to be changed.