Information générale
Catégorie:
Codage, syntaxe et commandes
Good tip, but I need fixed number of parameters.
>>So I should define 5 parameters in LPARAMETERS so I could then go to line IF and see if there is a too much parameters and deal with that 'error' on my own?
>>
>Rather than a fixed number of parameters, if you truly need an open-ended, variable set of parameters, I'd pass exactly one - either an array, whose length you could check using ALEN() at runtime to determine how many elements were in the array, or an object, that you could then examine for named properties to be used by your function.
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