I am sure I have had this problem before and can't remember what the fix
is...
The documentation says that an array can be returned from a function
provided you do the following:-
1. Declare the function with an explicit return type - the examples suggest
it also needs the parentheses to denote a returned array thus:
Private Function GetResultArray(RawResults as String, RequiredResultSetName
as String) as String()
2. Return the array (without parentheses) as part of the Exit Function
statement thus:
Exit Function MyTempArray
Why do I always get a syntax error on the Exit Function statement, with the
line compiler complaining it is expecting end of statement after Exit
Function?
Any help appreciated...
Regards
--Jim.