[Coco] Simple value inersion in Color Basic

Nick Marentes nickma2 at optusnet.com.au
Tue Jan 20 15:08:02 EST 2015


Can anyone tell me a really simple way to "invert" the value in a 
variable between 2 numbers?

Let's say the variable is in A and I want to toggle the value between 1 
and -1.

Color Basic lacks many of the commands I'm use to but there must be an 
easy "mathematical" way to do this.

Nick



More information about the Coco mailing list