There is a problem in Macintosh Pascal, version 2 and later. The
"Output also to a file" option (the Preferences dialog in the Windows menu)
allows all input and output in the TEXT window to be copied to a disk file.
This option does not always work correctly. When you select this option,
there is a risk of embedding garbage characters in the output file.
A workaround: create a disk file from within the program and write to it
using the write procedure.