I've been using IDL for the past couple of months, and Matlab for the
past 3 or so years. Matlab was mostly for school work, so I would
often have to save a command window log file, easily done with >diary
"filename". I would like to have the same capabilities with IDL, and I
found a function to do it, but it requires renaming every print
statement in the program to this procedures name. I could also rename
this procedure to print, but that's a little over the top. Is there
some middle ground that a diary like command could offer?