Bitwise folly...
BlitzMax Forums/BlitzMax Beginners Area/Bitwise folly...
| ||
Argh... Going a bit brain-dead here... Can someone please show me the BlitzMax bitwise equivalents for : flags &= ~wxAUI_MGR_TRANSPARENT_HINT and flags ^ flag I think the latter is : flags ~ flag ...but the other one? :-/ |
| ||
Hi, flags:&~wxAUI_MGR_TRANSPAENT_HINT and flags:~flag |
| ||
I assume the confusion is over BlitzMax bitwise NOTs and XORs. Search and all will be revealed... 3rd post in particular is worth a read :-) Btw, sorry to be off-topic, but your wxWidgets module looks very interesting. Especially with the tool pane stuff! Although, I'm not sure I could use it as it would take months to convert all Max'dGUI source code to the new module. Sniff, sniff. |
| ||
~Value does a NOT, Value~Value2 does an XOR |
| ||
Thanks folks :-) Every time I close my eyes, I see screens of C++... it makes my brain numb... |
| ||
That was the main idea behind C and C++ when they were designed ... ;-) |
| ||
That was the main idea behind C and C++ when they were designed ... ;-) Well you're half right. |