Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Undefined number of parameters
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00701718
Message ID:
00701724
Views:
13
Hi!

put "lparameters param1,.... Paran32" - up to 32 parameters - at start of the procedure. Then use parameters() function to determine what is passed.

>Hi all,
>
>How can I write a function (as the min or max functions) with undefined number of parameters?
>
>Thanks for any help
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform