[UPD] bitwiseRotateLeft
Sean Shao
shaosean at hotmail.com
Mon Nov 28 20:43:26 EST 2005
function bitwiseRotateLeft p1, p2
local tSL, tSR
put bitwiseShiftLeft(p1, p2) into tSL
put bitwiseShiftRight(p1, 32-p2, TRUE) into tSR -- updated line
return bitwiseOr(tSL, tSR)
end bitwiseRotateLeft
Now I'm not too certain if the rotateRight is correct..
-Sean
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
More information about the use-livecode
mailing list