Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PARAMETERS() bug?
Message
De
11/11/2002 07:42:39
 
 
À
11/11/2002 07:15:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00720910
Message ID:
00720927
Vues:
30
>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform