[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..

FREE pop-up blocking with the new MSN Toolbar – get it now! 

More information about the Use-livecode mailing list