Re: Variables referenced in a project
- From: erewhon@xxxxxxxxxx (J French)
- Date: Sat, 22 Oct 2005 07:39:53 +0000 (UTC)
On Fri, 21 Oct 2005 16:49:28 GMT, "Chris L."
<christopher.leongc@xxxxxxxxxxx> wrote:
>Hi All,
>
>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? 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?
Similar answer to Bob's
- change the name of the variable (add a silly letter) then try to
compile - the compiler will lead you to the spot
It is generally a good idea to avoid global variables, but if one
really must have them, then tuck them in a base level Unit and put
that units name in the Uses list of all Units that need it.
.
- Follow-Ups:
- Re: Variables referenced in a project
- From: Maarten Wiltink
- Re: Variables referenced in a project
- References:
- Variables referenced in a project
- From: Chris L.
- Variables referenced in a project
- Prev by Date: Re: Variables referenced in a project
- Next by Date: Re: Program closure
- Previous by thread: Re: Variables referenced in a project
- Next by thread: Re: Variables referenced in a project
- Index(es):
Relevant Pages
|