Binary "Shift Left" operator?

Colin Holgate coiin at
Tue Apr 29 15:39:56 EDT 2008

Not sure how many bits of arithmetic are being assumed there, but 
shift would also have a modulus effect. If I'm right, and if it's 32 
bit, n << 21 might be like n mod 512 * 2^21.

I just made this:

It will let you play with values while you try to work out the relationships!

More information about the Use-livecode mailing list