Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameter array
Message
De
09/11/2011 11:09:11
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 5
OS:
Windows 7
Divers
Thread ID:
01528475
Message ID:
01528493
Vues:
47
Naomi:

Thanks.

Please see Sergei's answer.

Thanks,

Yossi

>VFP does not have parameters array. The best you can do is to determine the number of parameters passed using parameters() or pcount() functions.
>
>>Hi All:
>>
>>Is there a parameter array?
>>
>>
>>foo('one', 'two', 'three')
>>
>>return
>>
>>Function foo(dog, cat, hen)
>>
>>? aPara(1)   &&displays 'one'
>>? dog           &&displays 'one'
>>? aPara(2)   &&displays 'two'
>>? aPara(3)   &&displays 'three'
>>
>>
>>return
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform