[Coco] replicating bitwise operators in BASIC
Barry Nelson
Barry.Nelson at amobiledevice.com
Fri Sep 9 16:09:25 EDT 2016
Do you happen to have an example that would show how to do a usr function that can be called with a syntax like C=USR0(A),B ?
> William Astle lost at l-w.ca
> Fri Sep 9 15:53:06 EDT
> Color basic only allows a single parameter inside the parens for USR()
> functions and you cannot use them as operators (standard infix style
> like +, -, etc.) That's not to say it wouldn't be more convenient if you
> were doing a lot of xors or what have you.
> You could do something that results in syntax like "Q = USR(A),B" with
> some careful coding.
More information about the Coco
mailing list