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 ...