Re: Variables referenced in a project
Chris L. wrote:
I'm sure someone has asked this before, but I can't find it in NG.
How do I find the references of a variable in the entire project which has
many units, without having to go through each unit manually?
Comment out the variable's declaration. Let the compiler tell you where
everything goes wrong.
Say, I have a
variable VARXXX that I used in a number of units in my project. Now I have
an issue that I suspect has to do with how this variable. Is there a quick
way to find all the occurences within this project?
Delphi 2005 has a "find references" command.
I usually just avoid the issue by having no global variables. Since all
variables are local, finding where they're used is simple.
--
Rob
.
Relevant Pages
- RE: MDX Solutions Second Edition
... I found the first book very interesting and useful and am always using it as ... Formula, Custom Rollup Formula, and also on how to use MDX in the "Script ... Basics" chapter, maybe with some references to AMO, if possible. ... "Chris Webb" wrote: ... (microsoft.public.sqlserver.olap) - Re: Ming the occasionally merciless
... Chris but there you go. ... No, Mong as in someone who is obtuse, stupid. ... apologise unreservedly, but it was just a playground name, nothing ... delight in making sly references to the issue by slipping references ... (uk.media.tv.misc) - Re: static variables discarded by the VS.NET2003 linker
... an object file containing definitions of global variables of any type/ ... I simply added artificial references to the code, ... because both have back references and the linker would thus try to include ... (microsoft.public.vc.language) - Re: using CSS instead of tables
... A David Schwartz started the thread, but in typical GoogleGroups drive-by fashion, he merely asked for help once, then ignored a request ... Chris knows about the problem, but appears unwilling or unable to permanently fix it. ... TB isn't bright enough to use References for anything more than tree-arrangement within a Subject-grouped thread. ... (comp.infosystems.www.authoring.stylesheets) - Re: Java or C++?
... >> out references is somehow equivalent to the expertise required for manual ... * Avoid situations like the one in the stack above, ... * Avoid loading binary data that looks like a pointer but isn't. ... (comp.programming) |
|