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

Home » Public Forums » archive » Re: Output files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Output files [message #49238] Tue, 04 July 2006 10:33
Jo Klein is currently offline  Jo Klein
Messages: 54
Registered: January 2006
Member
Hi Cris�gono,
What do you mean? If you just want to put info into a file, you can do
that like
OPENW,mylun,'myoutputfile.txt',/GET_LUN
PRINTF,mylun,'Output from my program'
CLOSE,mylun
FREE_LUN,mylun

You can put as many PRINTF statements in as you like, you could thus
create a header first and then write your actual output. You may need to
add a WIDTH keyword to OPENW if you have very long output lines.
Is that what you're looking for?
Cheers,
Jo

paulocrisogono@gmail.com wrote:
> Hi!
> How can i create an output file that contains information from a
> program and a specific header for that information (in general, of
> course!). If you have an example or documentation about that i
> appreciate!
>
> Thanks,
> Cris�gono
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Output files
Next Topic: objects and widgets

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

Current Time: Wed Oct 08 20:01:49 PDT 2025

Total time taken to generate the page: 0.41007 seconds