VB.net (starting with 2005, I believe) added a better "iif" which works like C#'s ?: operator (it does not evaluate expressions until necessary). The operator is simply "If" and is used like a function:
v = If(i < a.length, a[i], Nothing)
This should be considered superior to the old "iif" function in all normal cases.
Last Visit: 31-Dec-99 18:00 Last Update: 24-Oct-14 17:45