RE: Program Cleanup
- Posted by Robert Craig <rds at RapidEuphoria.com> Mar 26, 2003
- 332 views
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