General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only