Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lint-like tool for VFP?
Message
De
24/03/2014 12:27:38
 
 
À
23/03/2014 05:55:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01597085
Message ID:
01597200
Vues:
88
>>Does anybody know of any software for VFP that performs a similar function as "lint" did for C code?
>>
>>In general looking for something that could warn me of possible problems such as undefined variable, function, procedure, property, method, table, field, etc. Sure, one could hand-check each module, but it is not only boring and tedious, but because of it it's likely you'll miss stuff..
>Hi,
>
>There is this parslocals.prg which does exactly that.
>Just write your program / procedure , declare your variables as you like and run 'parselocals' it will show you exactly which variables are found in your procedure and not declared. So any mistypes of variables are listed.
>A likewise procedure is part of Thor, however I do find parselocals more handy, and before all more user friendly than the version in Thor.
>The procedure is in the atachment and what is also best it installes itself into your VFP menu so it can be used either via the Menu or you can define a shortcut-Key in your startup.prg
>
>Regards,
>Koen

Thanks! This looks like it'll be helpful.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform