SteveS
October 3rd, 2001, 05:20 PM
If I want to pass variables into a Visual Basic function and have them updated (passed by reference in C++) how do I do this?
For example:
Dim strMonth
Dim obj
:
:
' Before the function is called strMonth is ""
obj.GetMonth(strMonth)
' Now the value of strMonth is "October"
:
:
what is the format for this syntax? Is it compatible with VBScript? Sorry for the simple question, I can't find the information in the MSDN.
Thanks
For example:
Dim strMonth
Dim obj
:
:
' Before the function is called strMonth is ""
obj.GetMonth(strMonth)
' Now the value of strMonth is "October"
:
:
what is the format for this syntax? Is it compatible with VBScript? Sorry for the simple question, I can't find the information in the MSDN.
Thanks