Information générale
Catégorie:
Codage, syntaxe et commandes
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....
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement