print #handle, "!contents varname$";

print #handle, "!contents #handle";

This command has two forms as described above.  The first form causes the contents of the text window to be replaced with the contents of varname$, and the second form causes the contents of the text window to be replaced with the contents of the stream referenced by #handle.  This second form is useful for reading large text files quickly into the window.
