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

Home » Public Forums » archive » Re: print to a variable
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: print to a variable [message #5267 is a reply to message #5266] Wed, 22 November 1995 00:00 Go to previous messageGo to previous message
C.Shaw is currently offline  C.Shaw
Messages: 1
Registered: November 1995
Junior Member
In article <48qs6j$32f@curly.cc.emory.edu>,
dwu@curly.cc.emory.edu (Ding Wu) writes:
> The question is how to print all the stuff into a string stead of screen.
> such as when you type help, you will see
> IDL> help
> % At $MAIN$
> Code area used: 0% (0/32768), Symbol area used: 0% (4/8192)
> # local variables: 0, # parameters: 0
> Compiled Procedures:
> $MAIN$
> Compiled Functions:
>
> What I want is a string or array of string to store these information.
>
> I have a method:
>
> shell> idl > idl.log
> IDL> (do the job, print, help,...)
> all of these will not be seen on the screen, it will be in the
> file idl.log
> IDL> (test how many lines in the file use NOT EOF(unit) )
> IDL> (replicate a string to an array of string)
> IDL> (readf the file to the string array)
>
> This method will print all the results, and not show them on the screen.
> Now my question is how to print only one command result, and also
> print everything to the screen simultaneously.
>

Have you tried the JOURNAL command??
--
------------------------------------------------------------ -
Mail : Dept. of Pure and Applied Physics,
Queen's University Belfast,
University Road.
Belfast BT7 1NN
E-mail : C.Shaw@QUB.ac.uk
Phone : (01232) 245133 Ext 3045
Fax : (01232) 438918
------------------------------------------------------------ -
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Representing graphs in IDL
Next Topic: Read Hex numbers

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

Current Time: Sat Oct 11 20:49:31 PDT 2025

Total time taken to generate the page: 0.96131 seconds