iif

  1. O

    IIf behavior question

    IIf statement - I don't understand the behavior in this context. Private Function returnsInt() As Integer IIf(False, returnsInt = 2, returnsInt = 4) End Function public sub main() MsgBox(returnsInt()) end sub Why would returnsInt return a 0 every time? I was thinking it should...
Back
Top