At 07:44 AM 12/11/01, Kevin T. wrote: >Every winter for the last five years I've written a little BASIC program >that does some simple calculations repeatedly (2^25 times when I first >start), and every spring I've lost this program so I have to re-write it >again in the winter. So what is the point? Job security? Me: no, just forgetfulness. The program has nothing to do with work. >(The program took 10+ hours to run the first time I >tried it on a 200MHz machine. Last year was not much better on my 350.) > >I had it on my old office computer but we switched everything this >summer; I lost it again. Maybe it's trying to tell you something? ;-) >I have C++ but will not be able to re-install that until Saturday and I >never wrote the program in C++, so I'll have to relearn that and then >write the program. Are there any BASIC programs on the web, free? Yes, there are. Though perhaps you should be more specific about what you want said free BASIC program to accomplish . . . Me: The program takes a 25 bit binary number, compares it against other static 25 bit numbers, does a few other things, and then increases the 25 bit number by one. I have to modify the program every so often as the winter progresses, so the first week the I have to check all combinations of 2^25, the next week it is 2^22 because 3 of the bits are 'set'. The next week is 2^18..and so on. >I suppose if I was really insane Why am I sitting here wondering if _that_ ship may already have sailed? ;-) Me: notice I said _really_ insane, not just insane. not sane < me < really insane > I could write a Macro and use Excell...... In addition to the above, I have FORTRAN, Mathematica, and Smalltalk here if you think you need to rewrite it in even more languages. But why not be a real geek and code it in assembler? (Which I also have on this machine, for those occasions when nothing else will do.) (Don't take offense at my wisecracks. Whatever the program does, it sounds like something I would do. How else do you suppose I picked up some working knowledge of two dozen or more computer languages over the years? And it could be worse: at least I didn't suggest doing it in COBOL or RPG . . . ;-) ) -- Ronn! :) God bless America, Land that I love! Stand beside her, and guide her Thru the night with a light from above. From the mountains, to the prairies, To the oceans, white with foam... God bless America! My home, sweet home. -- Irving Berlin (1888-1989)
