Help with logic operator
Posted: Thu Feb 26, 2015 6:18 pm
Hi every one,
I'm new in Lua programming, I am usually working in C++
There is this sentence I need to translate in Lua and I just don't know how to formulate it:
Could any one be kind and help me in this task?
I'm new in Lua programming, I am usually working in C++
There is this sentence I need to translate in Lua and I just don't know how to formulate it:
Code: Select all
This is the sentence in C++
bits[x] |= (1 << cnt)
Could any one be kind and help me in this task?