Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange clauses in parameter list
Message
 
To
03/08/2006 13:07:49
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
01142745
Message ID:
01142912
Views:
8
Hi Greg,

I got the idea from book "Code complete".

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.

If you look to file docsource\metadata.dbf, field mhtml, you see DIAMP metadata (Detai info about methods and properties).

MartinJ

>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform