Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange clauses in parameter list
Message
De
03/08/2006 13:07:49
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
01142745
Message ID:
01142750
Vues:
9
So, techically, they are only there to aid the developers in interfacing with the methods. Good idea. If the parameter statement indicates INPREF, the dev would know the parameter is pass by reference.

It would be cool if a utility was made that scans a file or project and compares the parameters refernced in the calling of functions with these guides to confirm that the caller are passing the argument correctly.


>Greg,
>
>Those are pre-compiler constants from Core.h
>
>>
>>I just download the latest version of FTP class 2.0.2. While looking at the code, I noticed a new clauses in the parameter listing of the methods. preceeding the parameter declarations are prefixes; IMP, INPREF, etc. Thinking these are new to VFP 9.0, I when surfing the documentation to learn more. Unfortunently there is no mention of these clauses. So, I went back to my vesion 8.0 (it is what is installed on my work machine) and tried compiling the source code. It compiled without an error. My question is what are these and where can I learn more about them?
Greg Reichert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform