Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Breaking inheritance
Message
From
30/11/2001 10:00:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00587925
Message ID:
00587984
Views:
29
>>I just found out one more way to get into trouble: passing a parameter to DoDefault(), and forgetting that the parameter is an array.
>>
>>
>>lparameters taMyArray, tnPar2, tcPar3
>>DoDefault(taMyArray, tnPar2, tcPar3)
>>* Gives error message: the passed parameter is no longer an array.
>>
>>* Corrected version:
>>lparameters taMyArray, tnPar2, tcPar3
>>DoDefault(@taMyArray, tnPar2, tcPar3)
>>* Gives error message: the passed parameter is no longer an array.
>>
>
>Why corrected version still give the same error?

It won't. I used copy-and-paste, and forgot to take out this part.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform