>
> Another beginner VEE question for the list:
>
> I've inherited a few programs that make extensive use of global
> variables (which I don't like) to move data from sub to sub.
>
> Now the question:
>
> How can I find all of the occurrences of ->variable and <-variable
> without crawling through the entire program? _Please_ tell me I've
> missed a basic capability of VEE and it's all very easy to do
> (especially if it's true).
>
Hi Brent. I happen to really like globals, but certainly
won't quibble with your programming style.
In any case, I believe that you are looking for a basic FIND
like in any text editor.
Check out EDIT | FIND
in the main menu. This should do what you need.
regards
Stan Bischof
> Another beginner VEE question for the list:
>
> I've inherited a few programs that make extensive use of global
> variables (which I don't like) to move data from sub to sub.
>
> Now the question:
>
> How can I find all of the occurrences of ->variable and <-variable
> without crawling through the entire program? _Please_ tell me I've
> missed a basic capability of VEE and it's all very easy to do
> (especially if it's true).
>
Hi Brent. I happen to really like globals, but certainly
won't quibble with your programming style.
In any case, I believe that you are looking for a basic FIND
like in any text editor.
Check out EDIT | FIND
in the main menu. This should do what you need.
regards
Stan Bischof
> To: hpvxd_xc@hpislsup.lvld.hp.com
> From: Brent G DeWitt <bdewitt@ix.netcom.com>
> Subject: Vrf: Global Variables
> Another beginner VEE question for the list:
>
> I've inherited a few programs that make extensive use of global
> variables (which I don't like) to move data from sub to sub.
>
> Now the question:
>
> How can I find all of the occurrences of ->variable and <-variable
> without crawling through the entire program? _Please_ tell me I've
> missed a basic capability of VEE and it's all very easy to do
> (especially if it's true).
>
> Thanks all.....
>
>
Brent,
In the program explorer, point to the variable, click the right mouse
button, select 'references'
Similair function is available for functions ('called by')
With kind regards,
Johannes Mulder
Philips Electron Optics tel +31 40 2766867
Building AAE-room 21 fax +31 40 2766820
P.O.B. 218
5600 MD ACHT, the Netherlands