Hi!
Create an obeject and add a properties to it. Than pass a single object as a parameter. Object in VFP could be used as a structure. Example:
oo = createobject("Relation") && the most lightweight class
oo.AddProperty('Param1',Param1Value)
oo.AddProperty('Param2',Param2Value)
...
Resultoo = MyFunction(oo)
Note that a result of the function could be also the object. More, object can contain quite a complex structure, such as arrays, child objects etc.
HTH.
>Hi
>How to resolve the problem of passing more than 17 parameters to a function?
>
>
>Thank you
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #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.