PICO-8 Wiki
Explore
Main Page
Discuss
All Pages
Community
Interactive Maps
Recent Blog Posts
Popular pages
Most visited articles
Spr
Splore
P8SCII
Sspr
Fget
Pal
Line
Pico-8 tutorials
Useful Pico-8 code
Community
Recent blog posts
FANDOM
Fan Central
BETA
Games
Anime
Movies
TV
Video
Wikis
Explore Wikis
Community Central
Start a Wiki
Don't have an account?
Register
Sign In
Sign In
Register
PICO-8 Wiki
244
pages
Explore
Main Page
Discuss
All Pages
Community
Interactive Maps
Recent Blog Posts
Popular pages
Most visited articles
Spr
Splore
P8SCII
Sspr
Fget
Pal
Line
Pico-8 tutorials
Useful Pico-8 code
Community
Recent blog posts
Editing
Bnot
(section)
Back to page
Edit
Edit source
View history
Talk (0)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Examples == <syntaxhighlight lang="lua"> -- 0xb = 000...1011 -- not 0xb = 111...0100 -- 0xf = 000...1111 -- (not 0xb) and 0xf = 000...0100 (0x4) print(band(bnot(0xb), 0xf)) -- 4 print(bnot(0xb)) -- -11 (0 - 0xb) print(~0xb) -- preferred method </syntaxhighlight>
Summary:
Please note that all contributions to the PICO-8 Wiki are considered to be released under the CC-BY-SA
Cancel
Editing help
(opens in new window)
Follow on IG
TikTok
Join Fan Lab