Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function accept 1 and get back one
Message
From
01/02/2010 14:58:01
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01446955
Message ID:
01446965
Views:
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform