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

Home » Public Forums » archive » Reading and saving a file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Reading and saving a file [message #74646] Wed, 26 January 2011 05:25 Go to previous message
Giovanna is currently offline  Giovanna
Messages: 12
Registered: January 2011
Junior Member
Hi all,

I need to read and save a file using IDL, but my code is reading and
saving only the first line. Please, see my code:


PRO READ_FILE
OpenR, lun, 'C:\Documents and Settings\Web\IDLWorkspace\Projeto_Estudo
\dados.dat', /Get_lun
file = ''
ReadF, lun, file
SAVE, FILENAME=('C:\Documents and Settings\Web\IDLWorkspace
\Projeto_Estudo\teste1.dat')

;print,file
END
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DLM Woes
Next Topic: save in idl 8 / read in idl 7

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

Current Time: Wed Oct 08 20:05:50 PDT 2025

Total time taken to generate the page: 0.05862 seconds