Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any known issues with PARAMETERS()?
Message
From
30/06/2000 09:03:11
Jonathan Cochran
Alion Science and Technology
Maryland, United States
 
 
To
30/06/2000 08:28:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00386643
Message ID:
00387020
Views:
15
We don't use the "PROCEDURE ProcName(param1,param2)" anywhere in our code, but we were having problems with the PARAMETERS() function returning incorrect results. It was pretty intermittent, and we were unable to determine why it returned incorrect results the times that it did. After switching to PCOUNT(), we haven't had a problem yet.

>When parameters are accepted via () they come through as local (i.e. LParameters). But this is an interesting point -- I wonder if this would have occurred if LPARAM was used -- could be that there's a lingering bug with the PROC() approach? Since a relatively small percentage of VFP programs use this technique, that would explain why no one else (so far) has reported it....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform