comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: journal file contents
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: journal file contents [message #30022] Thu, 04 April 2002 11:42 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Med Bennett (mwbennett@windra.com) writes:

> I am perusing a journal file and have a question about what's included.
> If I issue a 'print' command, the results are saved in the file, but if
> I use a help command, as in
>
> help, where(ots eq 'o' and nnp ge 0 and agp lt 10.)
>
> the answer is not saved in the file. This is somewhat of an
> inconvenience, as it's the answer to the help command that is the value
> that's needed for a particular calculation, and that I would like to be
> able to refer to later on. I don't really want to do a print,where...
> because I don't really care which elements meet the criteria, just how
> many there are. Why is this?

Why is it!? Why do our bodies fail us just when
our minds finally figure out now to hit a down the
line backhand? It's a mystery. :-(

Why don't you try this in your journal file:

I = where(ots eq 'o' and nnp ge 0 and agp lt 10., cnt) & Print, cnt

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Expose Events (easy questions)
Next Topic: Re: sec : U Re: X-windows text events

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 13:54:53 PDT 2025

Total time taken to generate the page: 0.00667 seconds