Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Breaking inheritance
Message
From
30/11/2001 08:33:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Breaking inheritance
Miscellaneous
Thread ID:
00587925
Message ID:
00587925
Views:
61
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.
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)
Next
Reply
Map
View

Click here to load this message in the networking platform