Hi,

Thanks for your input. I thought my script was neat and organised and utilised subs, I 
guess my standard is much lower than yours.
I try not to use too many subs as most of my scripting is short and simple, and I fear 
overkill if I do use subs. But your advice on mental powers seems to be true, I am now 
finding it difficult to cure what can only be a simple bug. Going back to the drawing 
board may be inefficient in this case as the script is almost there, I can feel it. 
The mistake I made was pausing from the work for a few days and then to come back to 
it scratching my head.
I will await further responses at the same time give debugging another shot and if it 
does not work I will have to follow your advice.

Many thanks.

#############################################################################
"R. Joseph Newton" wrote:

> Hi Aim,
>
> It is hard to say what is going on here.  It will become progressively more 
> difficult, ranging to impossible, as your task becomes larger without functional 
> decomposition.  The material you are working with is sophisticated science.  You 
> simply cannot do justice to the complexity of the processes while keeping them all 
> in one lexical and procedural scope.
>
> I'm fatalistic.  People rarely actually take my advice.  I'm going to give you some 
> anyway.  Suspend this project, and work on the process of organizing your task into 
> named subroutines.  You have better things to do with your mental powers than trying 
> to keep track of how one line of code is going to interact with hundreds or 
> thousands of others.  This might delay your project somewhat, but in the long run, 
> it will speed your work dramatically.
>
> Break your problem down into manageable chunks.
>
> Joseph
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to