LOL Steve, not sure about a brain the size of Jupiter...some days I'm pretty sure it shrinks to the size of Pluto insteadSteveHopwood wrote: Shelley, that is just plain awesome.
What I coded was a misunderstanding of the idea, so the correction is in post 1. At least it should be. I have had a busy day, am tired, and made the correction under The Affluence. It might need checking in the sober light of tomorrow.![]()
Note to fledgling coders: despite being a non-coder, Shelley was able to spot my error because of the comment that showed what I had coded. Ok, so she clearly has a brain the size of Jupiter, but the comment merely made it easier for her to spot the error. So, comment everything you do. I am not the greatest commenter in the world, but am getting better. I once read some advice from a pro programmer who said that his comments were always longer than his code. I am gradually coming to understand why.
If you look at code produced by the likes of squalou, the comments are both extensive and comprehensive. So yep; comment everything.
Nice one Shelley.
And....
the only way I would have picked up the error/misunderstanding was because of your comments...if you hadn't commented it, I would still have been sitting here with eyes glazed over completely oblivious
Anyway, thanks for the fix, hopefully we shall see when markets open on Monday that all is well
Thanks again