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

Home » Public Forums » archive » Write to file help...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Write to file help... [message #92578] Sun, 17 January 2016 11:55 Go to previous message
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
Folks,
Hi,
I am running an IDL code like this
......
print, x
print, y
print, z
print, t

openw, lun, 'test.txt', /get_lun
printf, lun,x,y,z,t
free_lun, lun
........
x,y,z, t are float numbers.
What i want is like this:
1- first run: make a file like 'test.txt'and write the result to this file ('test.txt').
2- at the second run (and more), append the new x,y,z, t to the 'test.txt' file.
At the end, i need a text file that holds all of my data in single 'test.txt'...
Thanks for any kind of help in advance :)
Cheers,
Dave
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL Help Annoyance
Next Topic: i cann't open idl because idlde.exe has stopped working.

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

Current Time: Wed Oct 08 09:22:51 PDT 2025

Total time taken to generate the page: 0.00543 seconds