Look under Bitwise NOT in the manual
Byte = ~ Byte
EDIT: I've got no idea why this post ended up ahead of jderson's post below!!!
Look under Bitwise NOT in the manual
Byte = ~ Byte
EDIT: I've got no idea why this post ended up ahead of jderson's post below!!!
You're a prophetEDIT: I've got no idea why this post ended up ahead of jderson's post below!!!![]()
I'm trying to invert all bits of a byte variable, no matter what the value is. Do I need to make a lookup table for all the numbers?
Thank you, Skimask. It works now, but I don't see where ~ is in the manual.
Bookmarks