---------- Original Message ----------------------------------
>
>I find that after about 2 levels I cannot comprehend what else is going to be 
>executed when.
>
>Any tips or references would be greatly appreciated.

Try creating local procedures when it starts to get messy ...

If blah then
    ProcessBlah
else
    ProcessBlat;

This has the effect of making the code easier to follow what's going on, and 
departmentalising (buzzword of the week) the code into easily maintained parcels.

Steve
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to