Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Max number of parameters
Message
De
29/06/2021 15:47:35
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01681616
Message ID:
01681630
Vues:
56
>>I was getting an error and I sensed that the reason was the extra parameter I added. You confirmed it.

I hesitate to mention performance after some recent threads(!) but passing lots of/large parameters definitely carries a performance hit. The other option is PRIVATE variables or parameter objects in the calling code: you can have as many as you need that are visible to called functions without the performance impact.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform