Re: Procedures similar to Matlab's diary



Thanks a lot. Does exactly what I want it to do.

Brian Larsen wrote:
In idl this is called journal. I belive this is the same
functionality.

JOURNAL
Syntax | Arguments | Keywords | Examples | Version History | See Also
The JOURNAL procedure provides a record of an interactive session by
saving, in a file, all text entered from the terminal in response to
the IDL prompt. The first call to JOURNAL starts the logging process.
The read-only system variable !JOURNAL is set to the file unit used. To
stop saving commands and close the file, call JOURNAL with no
parameters. If logging is in effect and JOURNAL is called with a
parameter, the parameter is simply written to the journal file.
Syntax
JOURNAL [, Arg]

Cheers,

Brian



Braedley wrote:
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?

.



Relevant Pages

  • Re: Procedures similar to Matlabs diary
    ... In idl this is called journal. ... functionality. ... saving, in a file, all text entered from the terminal in response to ... often have to save a command window log file, ...
    (comp.lang.idl)
  • Re: Great SWT Program
    ... function keys, etc.). ... to repeat the insertion command on subsequent lines. ... functionality, ... oftentimes one typo is all that separates you from disaster. ...
    (comp.lang.java.programmer)
  • Re: Great SWT Program
    ... You mean, in the same way that your Ctrl key, your "S" key, the ... putting closely related functionality in three different binaries that ... another example -- you have to man this, exit, man that, exit, man ... and command histories back in ye good ole days of computing. ...
    (comp.lang.java.programmer)
  • Re: Accept change and automatically highlight next change
    ... The functionality is what I'm looking for, ... "Suzanne S. Barnhill" wrote: ... > Okay, I've now tried this, and what the ToolsReviewRevisions command gives ... please post all follow-ups to the newsgroup so ...
    (microsoft.public.word.docmanagement)
  • Re: f77, f90, f95 or f2003?
    ... Wade Ward wrote: ... If you use "system call" to reference functionality provided by the OS, then that by necessity must be language-neutral - otherwise the only language you could use on that OS would be C, hey, not even assembler code? ... Richard Maine posted source for how to get command line args in fortran. ...
    (comp.lang.fortran)