Information générale
Catégorie:
Codage, syntaxe et commandes
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).
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement