M
Marco Segurini
Hi all,
is there someone that may explain why the VB compiler report an error
for this code?
thanks a lot
Marco.
Module Module1
Sub fn1()
End Sub
Sub fn2()
End Sub
Sub Main()
Dim if_fn1 As Object = If(True, AddressOf fn1, AddressOf fn2)
' error BC30491: Expression does not produce a value
End Sub
End Module
is there someone that may explain why the VB compiler report an error
for this code?
thanks a lot
Marco.
Module Module1
Sub fn1()
End Sub
Sub fn2()
End Sub
Sub Main()
Dim if_fn1 As Object = If(True, AddressOf fn1, AddressOf fn2)
' error BC30491: Expression does not produce a value
End Sub
End Module