hehee!

I can see your point.

anyway, what comes to make separated sections in script is only a matter of "exit 0"

I have multiple subscripts and functions at the end of the script. before them I just simply do two lines:

exit 0 ;script execution stops here
;#######################################

and after those add the separated stuff.
this way, even my co-workers see what is what (well, almost) and can leave the main stuff alone.

anyway, I've used on some job assignments diversed way on the data.

I was introduced this with some tcl-scripts I had to work on (IRC rules) some 10 years ago.

make a "configure" section at the start of the file and then:

;if you touch below this, you can be fired!
;###########################################

anyway, making something for the ppl who seem to ignore the fact that world keeps moving because of the programmers, is good thing.
it can even get you a raise or two.
_________________________
!

download KiXnet