Created
May 22, 2014 22:34
-
-
Save PotcFdk/5580209ae5241bf4f039 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TEST_TABLE = {} | |
TEST_TABLE.value = 0xB | |
print (0xA .. " >= " .. TEST_TABLE.value .. ": ", 0xA >= TEST_TABLE.value) | |
if (0xA >= 0xB) then | |
print ("0xA >= 0xB") -- If this prints, your computer is insane. | |
elseif (0xA >= TEST_TABLE.value) then | |
print ("That is numberwang!") -- You have been wangernumbed. | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ ./Downloads/LuaJIT-2.0.3/src/luajit.exe hex-bug.lua
10 >= 11: false
$ ./Downloads/LuaJIT-2.0.0/src/luajit.exe hex-bug.lua
10 >= 11: true
That is numberwang!