Hi Christopher,
>Is there a limit to the number of parameters you can pass to a function defined in a FLL?
Yes. Visual FoxPro can't handle more than 27 parameters for a function. This applies to UDFs, methods, FLL functions and API functions. It does, however, not apply to calling procedures with DO command. Nonetheless, this behavior is not consistent. For instance, INLIST() only accepts 26 parameters before raising an error.
In general, I would avoid reaching this limit at all and rather use a parameter object to pass parameters to a function when the number of parameters is possibly very high or variable.
Christof
--
Christof