macleodjb
01-14-2011, 02:04 AM
Hi Guys,
I'm not sure my title is correct but what i am trying to do is put an array that i got from another function into the code that i am running currently.
Example.
Dim NewArray(0 to 7) as Integer
NewArray = GetOldArray() <--- This function returns an array
I keep getting an error here saying "Value of type cannot be converted to 1 dimensional array".
I tried it couple different ways but it never works. I'm sure this is a stupid answer so thank you in advance.
I'm not sure my title is correct but what i am trying to do is put an array that i got from another function into the code that i am running currently.
Example.
Dim NewArray(0 to 7) as Integer
NewArray = GetOldArray() <--- This function returns an array
I keep getting an error here saying "Value of type cannot be converted to 1 dimensional array".
I tried it couple different ways but it never works. I'm sure this is a stupid answer so thank you in advance.