|
-
Dec 2nd, 2005, 08:20 AM
#2
Thread Starter
Member
Re: My Stopwatch has gotten out of hand
OK, I posted this late last night (Way past my bedtime! ) after messing around for nearly three hours just to make it run by itself. Maybe it's not the sort of problem usually posted here. But I really hope someone takes the time to criticize it (in a good way) and maybe suggest some general tips that will help me set up and fix other more complex programs before I mess them up too badly.
I wrote it as part of another program and it is used to measure a testing sequence. Most of my agony last night was caused by trying to extract a working subset of the original program. Comments were added later, probably they are inadequate. Of course, the basic stopwatch is what several sources suggested, any elegance there is not my fault. The klunky parts, the wasted mental space and the violation of all things good and fair is all me .
Somehow I get the feeling that there should be two or three variables in two or three subs which I can set and reset to accomplish what is really a trivial job; Start, Stop, Resume, Reset, and Save the stopwatch time.
Thanks in advance for your efforts, and since I will be here at the computer most of the day, any comments or suggestions could be pm'ed or posted and I can respond within a few minutes.
If you can't help, thanks for reading anyway, and have a nice day! We are getting a light, pretty and Christmas'y snow. I'll be drinking coffee with cocoa in it and I might have a peanut butter cookie later.
The man who sets out to carry a cat by its tail
learns something that will always be useful and
which will never grow dim or doubtful. - Mark Twain
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|