Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing Parameters
Message
From
12/03/2003 12:21:55
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00764809
Message ID:
00764947
Views:
27
The other question is why would the limit have been set to 26 in the first place? I wonder if it's just coincidence that 26 just happens to be the number of letters in the English alphabet.
One thing to be sure, the greater the number of parameters to pass, the likelyhood of missing one or putting them in the incorrect sequence is greater (one of the problems I constantly had back in school with those ScanTron forms). I was never really happy with the solution of passing an array -- somehow it was too easy to get the indicies wrong. Although a series of #DEFINEs would work, you had to duplicate them in every program file back in FPW (due to a lack of #INCLUDE). Although in VFP this limitation doesn't exist, my personal preference has been to define a custom class (as typically the large number of parameters was because I was passing some sort of structured data).
Previous
Reply
Map
View

Click here to load this message in the networking platform