[Coco] Simple value inersion in Color Basic
Brendan Donahe
brendan at polylith.com
Tue Jan 20 15:14:18 EST 2015
Multiply by -1? (Surely I must be missing something...)
Brendan
On Tue, Jan 20, 2015 at 2:08 PM, Nick Marentes <nickma2 at optusnet.com.au>
wrote:
> 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
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>
More information about the Coco
mailing list