在Lua 5.3中, bit32 庫已廢棄,因為現在有了本機按位運算符。 ... local function BitXOR(a,b)--Bitwise xor local p,c=1,0 while a>0 and b>0 do local ra,rb=a%2 ...
確定! 回上一頁