Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optional number of parameters and protected procedure
Message
 
 
To
04/01/2007 14:22:47
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01182425
Message ID:
01182437
Views:
24
>>Hi everybody,
>>
>>I have a method in the class with optional number of parameters which calls a protected procedure of the same class. I'm passing parameters as is from one procedure to another. I guess the only way to know from this protected procedure how many parameters did I pass originally is to actually pass the number of parameters as a parameter.
>>
>>Do you see any other way here?
>>
>>Thanks in advance.
>
>Yes, or having different call-statements with different # of parameters

Thanks again. I'll add one more parameter to the call of the protected procedure.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform