On 19 Feb 2003, at 14:55, William Chops Westfield wrote: > Oh come on. It's not that hard. It can't be that hard. I had a swell time > once trying to do integer math on a TI-59 programmable calculator, and that > too is a bit annoying, but far from impossible or even "difficult." > > carry = firstbyte mod 2 > firstbyte = firstbyte / 2 > nextbyte = nextbyte /2 + 128*carry > > (and "N mod D", of course is just (N - (D*int(N/D))) ) I did not say it could not be done - the original question to which I replied was:- > Thanks. But isn't there a simple bit shift operator in VB? That would make > it beyond simple.... And my answer remains - "Nope..." George Smith -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu