I have some VBScript code where a function returns an array.
function PreProcessFile (sFile)
dim deData(3)
''populate deData with strings
PreProcessFile = deData
End function
The code calling this function errs with a type mismatch. Any thoughts?
'' VBScript source code
Dim m_deData(3)
set m_deData = PreProcessFile("someFile.txt")