Hello
I have the followig function
Function GetTheName() as string
![]()
Dim MyName as string ... [Some Calculation here to get "MyName"] ... [Returning the value of MyName] End Function
How do I return this "MyName" here now then exit the function to go back to the calling procedure? I tried the "Return MyName" statement but it gave me a syntax error, however I tried "GetTheName = MyName" and it worked but is this going to flush the memory of this function from memory and exit the function and go back to the calling procedure?
Bookmarks