I am making a function and I want it to return an array if it is a success otherwise a boolean of false. Is there a way I can do this?
Function test()
If ( mystuff = Good) Then
Return myArray
Else
Return False
End If
End Function
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Results 1 to 12 of 12
Thread: Function Return TypesThreaded View
|
Click Here to Expand Forum to Full Width |