Re: Rob's going to hate me... (Remainder bug)
- Posted by Irv Mullins <irvm at ellijay.com> Nov 09, 2003
- 609 views
On Saturday 08 November 2003 06:38 pm, Daniel wrote: > I think it would be good to have multiple instances of the same include > running, like > include something.e {insta,instb,instc,instd,inste,instf} > but I dont know if that is a good Idea maybe havinga better handle on > scope while writing the include is better It *is* a good idea. I'm doing that right now, and it is very useful. A program I'm working on has 3 different lists. Each "include" which managed a list (adding, deleting, editing items) was about 160 lines of code. I've replaced those 3 with a single include, included 3 times, saving 2/3 of the code, and making changes, bug fixes, etc. far easier (there's only one place to fix, instead of 3) Later, when I have 6 or 7 lists, I'll _still_ have only about 160 lines of code driving all the lists, so the savings could be significant. Irv -- Robert Tappen Morris, Jr., got six months in jail for crashing 10% of the computers that Bill Gates made $100 million crashing last weekend.