I was typing a big post here, but evilsob was ahead of me smile.

In addition, I contributed a way of structured programming here:
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=277335#Post277335

Perhaps it's of use for you.

Regards,
Joozey


Click and join the 3dgs irc community!
Room: #3dgs