|
-
Jul 1st, 2000, 08:06 PM
#1
Thread Starter
Hyperactive Member
i have never even heard of the imp operator ... i guess cause i just program for a hobby n i'm not too deeply involved in vb
-
Jul 1st, 2000, 08:34 PM
#2
Frenzied Member
I don't think anyone knew about it before, Kedman just Found out about it and couldn't figure out what it was for, and neither could we.
-
Jul 2nd, 2000, 05:53 AM
#3
Well, I knew about it so there! hehehe
Actually Imp is short for Implied equality.
an example: A > B, B > C, the imp operator determines by logic that A > C. I don't know how you would code it though, there is a thingy in MSDN about it anyway.
-
Jul 2nd, 2000, 10:02 AM
#4
Frenzied Member
Actually It Doesn't do that at all.
It is short for Implies as in a => b but it doesn't work anything out logicly, it's just a bitwise operator
Code:
C = (A Imp B)
'Truth Table
'A B | C
'F F | T
'F T | T
'T F | F
'T T | T
the reason it works for ((A<B) And (B<C)) Imp (A<C)
is because that is an Identity, and will always be true, so when the operator tests for it it is true.
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
|