Colin, - not until too late!...

Mark

On 30 Apr 2008, at 16:08, Colin Holgate wrote:
At 3:58 PM +0100 4/30/08, Mark Smith wrote:
function shiftLeft pNum, pSteps
   if pNum = 0 then return 0
   if pSteps is empty then put 1 into pSteps
   put pNum * (2 ^ pSteps) into tShiftedNum
   if tShiftedNum > 2 ^ 32  then subtract 2 ^ 32 from tShiftedNum
   return tShiftedNum
end shiftLeft

Did you read my other message, where I suggested that doing a mod would solve the same issue?

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to