B
Bart
If interested, this is usually written as:
...at first sight not really for me. So probably then I'm not a
computer geek.
I looked up the definition. I wasn't really convinced. Ok, I did
understand what it practically does, but then what does mean:
True implies False is not True?
Searching Wikipedia I found out about: the Material Condition (http://
en.wikipedia.org/wiki/Material_conditional). The Imp operator implies
something like this:
If A is true, then B has to be true as well. If not: the statement is
false. (A is an antecedent, B is a consequent)
(I'm not really good remembering things just by heart, unless I've
some background information as a reminder.)
Though, just as aside info:
"Did you also know that the two very rarely used VB 6 operators Imp
and Eqv have disappeared in VB.NET, but two new operators, AndAlso and
OrElse have appeared? To replace the missing operators, the VB.NET
documentation suggests that you simply use the standard operators to
accomplish the effect of Imp and Eqv. Here's Imp in code as an
example.
Result = A Imp B 'True unless A True and B False
Result = (Not A) Or B 'Same as A Imp B
The two new operators in VB.NET, AndAlso and OrElse, are used to short-
circuit a logical evaluation by evaluating the second expression only
if it's necessary. This is a way of thinking about expression
evaluation that is familiar to C programmers but new to VB
programmers."
Source: http://visualbasic.about.com/od/usingvbnet/l/bldykand_or_not.htm
Thanks Dana DeLouis! All these things: they are interesting matter.
Bart
Not (x Imp y)
(a little easier to follow for computer geeks)
...at first sight not really for me. So probably then I'm not a
computer geek.
I looked up the definition. I wasn't really convinced. Ok, I did
understand what it practically does, but then what does mean:
True implies False is not True?
Searching Wikipedia I found out about: the Material Condition (http://
en.wikipedia.org/wiki/Material_conditional). The Imp operator implies
something like this:
If A is true, then B has to be true as well. If not: the statement is
false. (A is an antecedent, B is a consequent)
(I'm not really good remembering things just by heart, unless I've
some background information as a reminder.)
Though, just as aside info:
"Did you also know that the two very rarely used VB 6 operators Imp
and Eqv have disappeared in VB.NET, but two new operators, AndAlso and
OrElse have appeared? To replace the missing operators, the VB.NET
documentation suggests that you simply use the standard operators to
accomplish the effect of Imp and Eqv. Here's Imp in code as an
example.
Result = A Imp B 'True unless A True and B False
Result = (Not A) Or B 'Same as A Imp B
The two new operators in VB.NET, AndAlso and OrElse, are used to short-
circuit a logical evaluation by evaluating the second expression only
if it's necessary. This is a way of thinking about expression
evaluation that is familiar to C programmers but new to VB
programmers."
Source: http://visualbasic.about.com/od/usingvbnet/l/bldykand_or_not.htm
Thanks Dana DeLouis! All these things: they are interesting matter.
Bart