|
-
Nov 25th, 1999, 09:36 PM
#2
The bits equals the values 1, 2, 4, 8 and so on so you can break them out like this:
If iReturnValue And 1 Then 'bit 0
'Do whatever
End If
If iReturnValue And 2 Then 'bit 1
'Do whatever
End If
If iReturnValue And 4 Then 'bit 2
'Do whatever
End If
'and so on...
Good luck!
------------------
Joacim Andersson
[email protected]
[email protected]
www.YellowBlazer.com
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
|