RE: Program Cleanup

new topic     » goto parent     » topic index » view thread      » older message » newer message

Jonas Temple wrote:
> When you bind a program, the binder will remove unused 
> routines/constants.  That doesn't however remove them from the 
> source.  This might be a good candidate for a utility....
> ...
> Robert Szalay wrote:
> > Would it be possible for euphoria to include a 
> > way of cleaning up your apps?
> >
> > I often do rewriting and end up with lots of 
> > leftover variables and routines.

There are warnings about unused variables.
Also, if you use the "-list" option of the
binder or shrouder, it will give you a file
called "deleted.txt" that contains a list
of all the unused (and therefore deleted from the shrouded code)
constants and routines. Many of these will be
in the standard Euphoria libraries, Win32Lib etc.
but some may be in your own files.

As for automatically deleting code from a user's source,
that's far too risky to contemplate.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu