Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to create a listing of all variables used in a program?

Status
Not open for further replies.

gjbroek

Technical User
Jun 1, 2005
10
NL
Hi,

When programming I use all sorts of variables. Some for testing, some for eternity (...?).

Is there a way to list all variables used in a project? Perhaps together with the location (form / prg / menu / etc.)?

This would make it easier to clean up my code, once completed.

Regards, Gerrit
 
Gerrit;

See the Foxpro help for DISPLAY MEMORY

Ed


Please let me know if the suggestion(s) I provide are helpful to you.
Sometimes you're the windshield... Sometimes you're the bug.
smallbug.gif
 
Check out the documenting wizard. I haven't used it recently, but its predecessor used to offer a cross-reference for variables and fields.

Tamar
 
Tamar,

It still works!
Thanks, Gerrit
 
If you're in VFP8 or 9 then try the Code References entry on the Tools menu. It will search all the files in the project and show the lines of code which contain that word. It even searches properties in form and class libraries.

You can also use it for a global search and replace to tidy up things like names which were good when the project started but which are now misleading.



Geoff Franklin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top