It will depend on the context of each script. Can you give any more information about what the subscript does and where it is called from?
Well, to test this out further, I made a copy of the superscript, and then pasted the subscript into the loop, making simple changes to accomodate this, and it got stuck there too. So I know now it's not my use of the Perform Script step. I'll have to debug this further before posting more here.
Thanks, as usual.
It's difficult for me to determine what may be the problem without seeing the script/file, but a common mistake (which I have made many times) is switching to a different layout that accesses different table information, and then forgetting to return to the original layout so I can proceed to the next record in the original table.
If you are still unable to find the cause, post the subscript, and either myself or someone on the forum should be able to help you.
As it turned out, there was a problem in my subscript that had nothing to do with the loop itself. Thanks for your support, TSGal.