Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Too many arguments - but only 23 parameters passed
Message
 
 
To
18/08/2004 09:31:48
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00930681
Message ID:
00934090
Views:
21
Hi Mike,

Yes, I would agree with you. :)
Lately, I tend to create and pass object parameter based on 'Empty' class/object. This way, as you mentioned, there's no limit on the # of parameters that can be passed and adding new parameter is very easy. In addition, you can return multiple values, if you've to, and even provide extended error/exception info in the same object to the calling program.

>
>Would you agree there shouldn't be any need to worry about the limits in this thread? There really are only two parameters, lnMode and a data "record". The form of that record is the only question. It could be xml or something else. There are a maximum of 255 fields in a VFP record. It would be impossible to pass all of those individual fields as parameters.
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform