Results 1 to 4 of 4

Thread: imp huh

  1. #1

    Thread Starter
    Hyperactive Member theman32x's Avatar
    Join Date
    May 2000
    Location
    New Jersey, USA
    Posts
    305

    Question

    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

  2. #2
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    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.

  3. #3
    Guest
    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.

  4. #4
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    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
  •  



Click Here to Expand Forum to Full Width