M
Martin H.
Hello Armin,
I just read the OP again.
OK. So if one function has to be able to return 1...n values,
I would make the return value either a class or a structure.
Public Structure MyReturnStructure
Public sRet As String
Public iRet As Integer
End Structure
Public Function Foo() As MyReturnStructure
Dim retVal As MyReturnStructure
'Do something
Return retVal
End Function
Best regards,
Martin
I just read the OP again.
OK. So if one function has to be able to return 1...n values,
I would make the return value either a class or a structure.
Public Structure MyReturnStructure
Public sRet As String
Public iRet As Integer
End Structure
Public Function Foo() As MyReturnStructure
Dim retVal As MyReturnStructure
'Do something
Return retVal
End Function
Best regards,
Martin