Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many parameters do i have
Message
De
30/10/1998 15:23:20
Len Wooden
Statistical Resources, Inc
Baton Rouge, Louisiane, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
How many parameters do i have
Divers
Thread ID:
00153008
Message ID:
00153008
Vues:
65
Is there a function to tell me how many parameters have been passed to the function from the call. If I have a function tom with 4 parameters, 2 of which are declaired as optional:
public tom(a as string, b as string, optional x as integer, optional y as integer)

And in another function bob I say:
tom "sam", "joe"

Is there a function that will return 2, the number of params passed.
Or a function I can use on the third param name that will tell me if a value was passed for it.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform