Utility to show orphan memvars?

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
bluebird
Posts: 104
Joined: Wed Sep 28, 2016 3:55 am
Has thanked: 22 times
Been thanked: 5 times

Utility to show orphan memvars?

Post by bluebird » Wed Aug 30, 2017 8:01 pm

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: 1953
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 31 times
Been thanked: 120 times
Contact:

Post by srvet_claudio » Wed Aug 30, 2017 8:23 pm

Compile with directive -w3
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

bluebird
Posts: 104
Joined: Wed Sep 28, 2016 3:55 am
Has thanked: 22 times
Been thanked: 5 times

Post by bluebird » Sat Sep 09, 2017 4:50 am

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