View Single Post
Old 06-27-2018, 12:32 PM   #10
James Slanger
Human being with feelings
 
Join Date: Feb 2018
Posts: 24
Default

Quote:
Originally Posted by mschnell View Post
For 32 bit operations you have the standard C operators.
But not all the C operators correct? Shouldn't ~ do a bit-wise NOT then?
inverted = ~COLOR_MASK; // generates a syntax error

-Jim

EDIT: Still wrapping my brain around what is available via C vs EEL2 in OSCii-bot. My understanding is that everything is either a double-float or string. Yet match() includes format specifiers for unsigned, etc? Can I cast variables to unsigned?

Last edited by James Slanger; 06-27-2018 at 12:40 PM. Reason: Added questions about my continuing confusion.
James Slanger is offline   Reply With Quote