Re: Output files [message #49238] |
Tue, 04 July 2006 10:33 |
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
>
|
|
|