Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
meatcar
· 12y ago · 0 comments
Or
if (a && b && c) { // Do something. }
Comments
[–]
jhaywood
12y ago
Unless they actually are a VB programmer and And doesn't short circuit.
[–]
joeframbach
12y ago
`AndAlso` short circuits.
[–]
jhaywood
12y ago
Fantastic! If only I could write Excel macros in vb.net
[–]
VBprogrammer
12y ago
Yes, the that was a very simple example.
[–]
Double_Cast
12y ago
iirc, robotics commonly uses something similar called ladder logic.