I am currently using Lua for Windows, and my current project deals with binary files. I need the XOR bitwise operator however, I don’t think Lua for Windows have a bitwise operator library since it’s still version 5.1 (a bitwise operator library was added in 5.2). Is there a way to get bitwise operators in Lua for Windows (version 5.1)?
Thanks!
LuaBitOp is included with Lua For Windows, so you just need to add
at the top of your program.