Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function accept 1 and get back one
Message
 
À
01/02/2010 14:58:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01446955
Message ID:
01446967
Vues:
40
>>>I don't remember such a native function to VFP but before I write this simple one is there a function that accept a number 1,2,3,.. and return one,two,three.. for my case I just need 1 to 10 but it nice to know if such a function exists.
>>>
>>>Thanks
>>
>>No. there is no NATIVE function that could return more than one value.
>>All functions can accept up to 22 parameters.
>>You could write your own that could return an object (like Collection or EMPTY) and set all return values as properties of that object.
>
>Sorry, I guess I was not clear.
>I am looking for a function that accept numbers 1 or 2 ... (one parameter) and return 1 as a text "ONE" or "TWO" if 2 was passed.

:-)
No, there is no such a function in VFP.
But you could search here in Download area for Number to word (let me check)


Check Download # 9217
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform