Find and Clear unused code

  • Thread starter Thread starter Lez
  • Start date Start date
L

Lez

Hey Guys,

Anyone know if it's possible to search and remove any redundant code in an
application?

TIA

Lez
 
Lez said:
Hey Guys,

Anyone know if it's possible to search and remove any redundant code in an
application?

TIA

Lez

If you load a module press Control-A (or select all)
then press the toolbar button to changed lines in
selection into comments.

Now compile the db on each not found error uncomment
only that element (const, variable, sub, function, ...) and compile
again.

This will slowly reveal dead code.

You can also use common sense to speed up the process.

A start - John
 
Back
Top