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

Home » Public Forums » archive » read a multi-line string in IDL? or, read numeric values sequentially without automatic <CR>?
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 multi-line string in IDL? or, read numeric values sequentially without automatic <CR>? [message #87408 is a reply to message #87407] Fri, 31 January 2014 11:20 Go to previous messageGo to previous message
Lajos Foldy is currently offline  Lajos Foldy
Messages: 176
Registered: December 2011
Senior Member
On Friday, January 31, 2014 8:00:07 PM UTC+1, pcoelh...@gmail.com wrote:
>
> READ(12,*) (NV(J),J=1,NUMBER)
> (the ASC file is like that because it is used by an old FORTRAN code)
>
> ... READF will read one number per line only. ...

False.

NV=fltarr(NUMBER)

openr, unit, filename, /get
readf, unit, NV
free_lun, unit

regards,
Lajos
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: gridding XYZ to surface: how to blank no data?
Next Topic: Create new variable with subset of 4D array

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

Current Time: Fri Oct 10 03:04:14 PDT 2025

Total time taken to generate the page: 0.00192 seconds