Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any known issues with PARAMETERS()?
Message
De
30/06/2000 09:03:11
Jonathan Cochran
Alion Science and Technology
Maryland, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00386643
Message ID:
00387020
Vues:
14
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
Fil
Voir

Click here to load this message in the networking platform