>>it was already in the first versions of Cobol.
Yes i know that we have just rewritten a production system from Cobol so i
have seen some familiair constructs in these sources , as we had to rewite
the system from printed out Cobol source
However my point is that from origin most MS developers are C proggers and
if you read most MS DEV blogs you read that they took ideas from there
background "C" and introduced it to VB
Michel
"Cor Ligthert[MVP]" <no************@planet.nlschreef in bericht
news:35**********************************@microsof t.com...
Michel,
C is using || and &&.
The the shortcutted Or and And are much older: it was already in the first
versions of Cobol.
:-)
Cor
"Michel Posseth [MCP]" <MS**@posseth.comschreef in bericht
news:OM*************@TK2MSFTNGP05.phx.gbl...
>Here the explanation of someone from the VB dev team ( Paul Vick
software architect of the VB Development team )
http://www.panopticoncentral.net/articles/919.aspx
and you wil see that
And & Or are used for bitwise comparisation
AndAlso & OrElse are used for logical comparisation
despite what people say or think it is clear that they took this idea
from C " like C where there are separate logical operators (|| &&) and
bitwise operators (| &)."
HTH
Michel
"Euvin" <jc*****@uncc.eduschreef in bericht
news:d6**********************************@2g2000h sn.googlegroups.com...
>>>I am kind of confuse as to how these operators work:
AndAlso and OrElse
Anyone care to explain. Some examples would be great!