Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange clauses in parameter list
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
01142745
Message ID:
01143172
Vues:
10
Hi Greg,

Agnes DIAX Extras

Run foxcode_diamp_load.prg.


1) Open any prg file and skip to any procedure/method
2) write zpdm and space

MartinJ


>>Hi Greg,
>>
>>I got the idea from book "Code complete".
>
>I got that book. I guess I need to truly read it, and not just skim it.
>
>>
>>I use these constan for custom script zpdm. This script generate metadata about methods/procedure into source code. These metadata use DIAMP plugin from PDM for generate documentation about M/P.
>>
>
>I look at Project Documentating Machine (PDM), and did not notice what you are referrinf to. It requires another look.
>
>>If you look to file docsource\metadata.dbf, field mhtml, you see DIAMP metadata (Detai info about methods and properties).
>>
>>MartinJ
>
>Thanks
>
>>
>>>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?
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform