Utility to show orphan memvars?

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
bluebird
Posts: 172
Joined: Wed Sep 28, 2016 3:55 am
DBs Used: DBF

Utility to show orphan memvars?

Post by bluebird »

Dear Users

After building and revising a project, one can end up with variables all over the place which are no longer used.

I remember in the Clipper era that I had a utility that did general formatting on your code, identified

functions and their callers, and also listed original memvar declarations along with their reference lines.

Is there a utility around HMG world that can indicate "orphan" memvars?

Thanks for reading this request
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Utility to show orphan memvars?

Post by srvet_claudio »

Compile with directive -w3
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
bluebird
Posts: 172
Joined: Wed Sep 28, 2016 3:55 am
DBs Used: DBF

Re: Utility to show orphan memvars?

Post by bluebird »

Thanks for the reply.

However, I don't understand the 'compilation'. I always create the EXE file runing a build.bat file, not a compili command
Is there a write up that I can read to see what you mean?

Thanks
Post Reply