|
-
Mar 30th, 2008, 02:52 PM
#30
Re: VB6: 100,000,000,000,000,000 Element array possible?
I was trying to say that if you need the value of more than one bit, then shifting may be necessary. Example: If I wanted to know the Green value (8 bits, not just 1) of vbWhite, I can do it a couple of ways:
1. green = (vbWhite \ &H100&) And 255
2. check all 8 bits individually and OR them together
But again, when wanting to check just one bit; shifting is not necessary as you pointed out.
Last edited by LaVolpe; Mar 30th, 2008 at 02:56 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|