Rather than trying to combine these already disparate chunks of functionality into a single monolithic block, why not break them out into separate subroutines? Smaller, simpler pieces of code are easier to read, maintain and debug. Your main script then only has to be a few lines long, calling the subroutines in sequence, passing the output from the previous call into the next.
In reply to Re: Program Automation
by djantzen
in thread Program Automation
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |