Question: Displaying some results in a for loop but not others

I'm looking to display some results in my for loop but not others.  This is my code:


with(plots);
for j from 0 to 10 do
    fileName := sprintf(`destination%d.txt`, j):
    datalist := readdata(fileName, integer, 3):
    pointplot3d(datalist, style = line, linestyle = solid, thickness = 5);
end do;

 

I want to display the plots but I don't want the fileNmae or datalist to display.  Is there a way to force fileName and datalist to not display when the whole loop has a ';' at the end?

Thanks for the help.

Please Wait...