Re: Procedures similar to Matlab's diary
- From: "Braedley" <mike.braedley@xxxxxxxxx>
- Date: 30 Jun 2006 09:18:22 -0700
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?
.
- References:
- Procedures similar to Matlab's diary
- From: Braedley
- Re: Procedures similar to Matlab's diary
- From: Brian Larsen
- Procedures similar to Matlab's diary
- Prev by Date: Re: Procedures similar to Matlab's diary
- Previous by thread: Re: Procedures similar to Matlab's diary
- Index(es):
Relevant Pages
|