Wednesday, May 7, 2008

Re: [oopic] Re: Convert array of Bits to Byte

Why do you think it will be faster?

At 10:10 AM 5/7/2008, tuandung248 wrote:
>if you want it faster:
>
>dim v as oByte
>v = bit1;
>v.Lshift(1);
>v = v Or bit2;
>v.Lshift(1);
>v = v Or bit3;
>
>--- In oopic@yahoogroups.com, "design.wonk" <design.wonk@...> wrote:
> >
> > Wow, that was so logical. I guess that I was thinking that it had to
> > be more complicated.
> >
> > thanks
> >
> >
> >
> > --- In oopic@yahoogroups.com, Andrew Porrett <slicerwizard@> wrote:
> > >
> > > v = bit1 * 4 + bit2 * 2 + bit3 ?

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

No comments:

Post a Comment