[update] after writing this done and walking the dog, I sat back down and suddently noticed that a lot of the muddle in the code was due to a unhappy choice of when to do what. Changing things around only slightly cleared up a lot of the confusing code flow. And funnily this clearer code now uses almost the exact same lines of code, only arranged in another sequence...
Looking back I see that my my confuddled code reflected my confuddled state of mind on that day. So now I hvae a nice piece of code, but the feeling of unease still lingers, although it's not any longer grounded in reality. I was preparing for some very hard thinking and problem solving when a simple change of sequence was all that was needed. But somehow my mind is still geared up for that 'dreaded task'...
similar entries (vs):no similar entries (yet?)
similar entries (cg):no similar entries (yet?)