Hi,
I have run into this scenario before and in the past i have always fiddled around with the code to get my code to run without really ever "learning" why this problem occurs. I have read a few links and passages in books on arrays and passing arrays and have not really found my answer so i am going to post my issue here and hope someone can explain it to me.
Consider the following code:
if i try to run the above code i get a type mismatch error. However, if i change the declaration for temp_array1 fromPlease Login or Register to view this content.
toPlease Login or Register to view this content.
It runs fine..........Please Login or Register to view this content.
Can someone explain why?
Also, why does having "()" around declaration in procedure "pass_array_procedure2" cause an error?
I just never know when to include "()" or how to declare my variant-arrays in the main procedure.
Bookmarks