Printing data to a notebook

Hi, 

I'm writing a procedure wherein there is a "for" loop running. It is churning out values that I would like to be printed like a list in a notebook that pops up at the end of the loop run to display the list. Couldn't figure out how to do this. Kindly help. 

Thanks a lot in advance! 

Notebook Notebook0 text="This is some text"

The above command assumes that Notebook0 is the name of the target notebook window.

See the command help entry for the Notebook operation (Help->Command Help menu item) for all of the details and an explanation of the many other keywords supported.