Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The real maximum number of parameters
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00903548
Message ID:
00903564
Views:
14
Hi Chris,

It may work with more than 26 parameters or it may not. Or it may stop working with more that 26 parameters in the next VFP version. The bottom line, if you've to pass more than 26 parameters, you better off rethink your design. Using parameter object maybe an alternative and it doesn't have any limits on the number of properties you can add to it.

>VFP 8 documentation states that the maximum nuimber of parameters that can be passed to a procedure is 26. I have always thought that the parameters restriction was a bit rough, and have hoped that it would one day increase.
>
>I thought I might test this with VFP 8 and PROCEDURE and FUNCTION calls. I found that it was possible to pass 27 parameters to a FUNCTION, and a lot more to a PROCEDURE.
>
<snip>
>
>Can anyone comment on this? Is their no limit to parameters into a PROCEDURE because they are passed by reference?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform