Android Question Sub Foo (Arg as String) as String

MrBcx

Member
Licensed User
Longtime User
I understand that specifying a return type at the end of a SUB declaration makes it a FUNCTION.

Can someone please explain to me how to invoke a user defined string function like this?



Sub Foo (Arg as String) as String
Return Arg
End Sub
 

MrBcx

Member
Licensed User
Longtime User
Thank you NJDude ... that's what I thought.

I'm trying to use a user-defined string function (SUB), in a listview event, to modify a global string but the global string never receives the expected value - instead it get changed to an empty string. Baffling ...
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…