Home Forums General Programming Callback error: Lua runtime error Reply To: Callback error: Lua runtime error

#13325
atom
atom
Moderator

Yeah it was for hecticc cause i saw he used something i didn’t implement, and no bit operations are available in lua wihtout extra modules.

You can shorten a function like that to

function lsb (x)
	return (CtrlrLuaBigInteger(x):getBitRangeAsInt(0,7))
end