|
-
Jan 27th, 2000, 10:58 AM
#1
Thread Starter
Hyperactive Member
Ok, with paintpicture and bltbit n' such, with the raster operation codes, what the heck does it mean by "...by using Xor (Or, And, etc.)? Example? I know what Xor, Or, and And all mean, just how are they all used? I never really knew the syntax.
-
Jan 27th, 2000, 11:05 AM
#2
Just use them like this:
- OrValue = Value1 Or Value2 Or Value3
- XorValue = Value1 Xor Value2 Xor Value3
- AndValue = Value1 And Value2 And Value3
And - Masks the Bits of a Value
Or - Combines the Bits of Values
Xor - Inverts the Bits of a Value
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
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
|