I'm using a for loop to create a multi-line string. After the loop is done I want to call a popup window and display the string. For some reason it calls the popup window with each iteration, even though the call is after the for loop, and indented correctly. I can't find anything like this online. Any ideas?I'm using a for loop to create a multi-line str