nice ,,,you can test that in c or java by assigning
if (a=5) mean assigning (not comparing)
if(a==5) here it's comparing
soo in C for example
void main (void)
{
int a = 1;
if (0 && (a=2)) a=3;
cout << a << }
OutPut is 1 so it's skips as you told me
we can't apply this test for vb becouse = will be taken as comparing ,,, and we can't use a sub (it must be a real condition or a function)
Dim Y As Long
Private Sub Form_Load()
If False And X Then MsgBox "Mission Impossible"
MsgBox IIf(Y = 0, "It's Skipps", "Please No!")
End Sub
Private Function X() As Boolean
Y = 1
End Function
the result is "Please No!"