lcscne
08-02-2004, 01:30 PM
function retArray()
Dim myArray(1)
myArray(0) = "The record you have chosen is "
myArray(1) = "215"
retArray = myArray
end function
Dim recInfo(1)
recInfo = retArray()
Im getting a "Type mismatch" when I try to return an array from a function into a local array as shown. Can anyone direct me to a document or explain to me the proper syntax for a function that returns an array into a local array?
thanks
Dim myArray(1)
myArray(0) = "The record you have chosen is "
myArray(1) = "215"
retArray = myArray
end function
Dim recInfo(1)
recInfo = retArray()
Im getting a "Type mismatch" when I try to return an array from a function into a local array as shown. Can anyone direct me to a document or explain to me the proper syntax for a function that returns an array into a local array?
thanks