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

Home » Public Forums » archive » reading data with numbers and strings from data 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
Re: reading data with numbers and strings from data file [message #89650 is a reply to message #89649] Thu, 06 November 2014 05:19 Go to previous messageGo to previous message
greg.addr is currently offline  greg.addr
Messages: 160
Registered: May 2007
Senior Member
this should do it

openr,1,filename

s=""
read,1,s
read,1,s
read,1,s

a1=dblarr(14) ;I'm guessing all your arrays have 14 elements, and that other stuff is from your 3rd line

read,1,a1
read,1,s

b1=dblarr(14)
read,1,b1
read,1,s

c1=dblarr(14)
read,1,c1
read,1,s

close,1

cheers,
Greg
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: strange postscript error on certain IDL plots
Next Topic: Coord_transform in axes

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

Current Time: Fri Oct 10 17:29:43 PDT 2025

Total time taken to generate the page: 1.43986 seconds