I already know the Answer but i am just curious to see how well known this fact is about the VB compiler.
If i write this code 2 different ways which will be faster once it's compiled?
A)
VB Code:
If iConditionOne < 1 Then If iConditionTwo < 20 Then 'DoSomething End if End if
B)
VB Code:
If iConditionOne < 1 And iConditionTwo < 20 Then 'DoSomething






Reply With Quote