I just discovered that the color blocks are not idempotent ![:anger: :anger:](https://community.appinventor.mit.edu/images/emoji/google/anger.png?v=9)
![grafik](https://community.appinventor.mit.edu/uploads/default/original/2X/0/0f423cbaa36ddd6e89a8379e17fef51c141db818.png)
It could cause confusion
TIMAI2
2
ABG
3
Did that -65536 come out of an AI2 color operation?
TIMAI2
5
@ewpatton has already explained all of this somewhere (probably on the old forum)
This is probably the old Forum post?
1 Like
ABG
7
If you stretch equality to include modulo 2^32, are the two values ‘equal’ ?
Jep, fixed it
![grafik](https://community.appinventor.mit.edu/uploads/default/original/2X/2/29d25094fdf24aac21f864a0894df899670000ae.png)
So if you want to compare colors and want to make sure theyare equal, compare with the modulo block
I have published an example:
system
Closed
11
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.