in reply to Re: recursive call of current script
in thread recursive call of current script

I didn't wrote the script originally, so I can't say why they did it this way. I'm gonna try both versions to see if this does the trick for us. But yeah using subroutines would already help. Didn't thought about that, colleague just asked me for ideas. Right now there's not enough time for us to rewrite this script. This would be a good workaround for us.