At 6:02 AM +0000 2002/01/15, K.S. Jaishankar wrote:
>I am not able to workout bitshift functions in VB. In VB we do not have any bitshift 
>operators. Any idea how to it?

Well...

Shift left one bit = value multiplied by two
Shift right one bit = value divided by two

Bitwise And (for masking), Or (for merging), and Not (for inversion) are left as 
exercises for the reader. ;o)

Regards,

Jim Schram
Palm Incorporated
Partner Engineering

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to