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

Home » Public Forums » archive » read a file written in fortran
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: Read a file [message #74754 is a reply to message #74670] Mon, 31 January 2011 03:02 Go to previous messageGo to previous message
Giovanna is currently offline  Giovanna
Messages: 12
Registered: January 2011
Junior Member
On 28 jan, 19:14, Paulo Penteado <pp.pente...@gmail.com> wrote:
> On Jan 28, 2:17 pm, Giovanna <giovanna01.san...@gmail.com> wrote:
>
>> Well...
>
>> I need to read a file file.sav and file1.cnj, then i need restore and
>> to get the structures modelo.imag, conjugado.imag. And to save in the
>> new file - data.dat(line 16).
>
>> I don't know how to take these structures(modelo.imag, conjugado.imag)
>> and save in this file data.dat
>
>> CAn you help me.??
>
>> My code:http://pastebin.com/GRmNtags
>
> Again, are file.sav and file1.cnj savefiles or text files? If they are
> savefiles, they can be read with restore. If they are text files,
> readf is one of the ways to read them. It does not make a lot of sense
> to try to read them both as if they were savefiles and text files.
> Also, it does not make much sense to open file2.cnj and never do
> anything with it.
>
> And, as mentioned before, the files should be closed, and the unit
> numbers released back into the pool (both can be done with free_lun).
>
> To tell how to make the file you want, we would have to know what kind
> of variables those fields are (modelo.imag, conjugado.imag), and what
> kind of output you want to make of them.
>
> The first question could be well answered by the output of
>
> help,modelo.imag,conjugado.imag

So, file.sav and file1.cnj are savefiles ...and modelo.imag:
Expression must be a structure in this context: MODELO.

Understand??

Thanks,
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Coyote Graphics Update 30 Jan 2011
Next Topic: Re: Y2 axis title orientation

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

Current Time: Sun Oct 12 00:01:55 PDT 2025

Total time taken to generate the page: 0.00204 seconds