in reply to Print in TXT (while loop)

Hmmm... maybe you're suffering from buffering?