General information
Category:
Third party products
Environment versions
Network:
Windows 2008 Server
>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only