Previously this method would accumulate the the return value into 'ep'... I think this is not happening here... You could make the structure:
```
for(...)
{
  MCAutoStringRef t_string;
  ... use MCStringFormat ... to build the line
  ... use ep . concatstringref ...
  ... build object name if needed and use ep.concatstringref ...
}
```