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

Home » Public Forums » archive » Problem using ReadS to read a long string
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Problem using ReadS to read a long string [message #75956] Wed, 04 May 2011 16:01
Evan is currently offline  Evan
Messages: 2
Registered: May 2011
Junior Member
I've spent quite a while on this small problem to no avail. I have a
long formatted string that contains data that I need to access.
Unfortunately, when I try to format it with ReadS, I always get an
"end of input data encountered" error.

The strings look like this:

pg0953_ 0.36250 Lya -28 34108673 1108673 1 11 4 11 2
65.7 13.0 73.4 13.9 e140m 18.8 6.2 13.305 0.101 -0.073 13.324
0.078 -0.078 f0


And I'm using the following line of code to read it:


reads,input,root,z,ion,vthing,vaod,dvaod,vfit,dvfit,baod,dba od,bfit,dbfit,waod,dwaod,
$

wfit,dwfit,chan,wmin,snres,lnaod,dlnpaod,dlnmaod,lnfit,dlnpf it,dlnmfit,flag,
$
format='(A,F,A,I,I,I,I,I,I,I,I,I,F,F,F,F,A,F,F,F,F,F,F,F,F,A )'

I've never had to use ReadS before, so I'm wondering if I'm making
some really simple mistake about how it works. Any ideas?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: legend of polygon
Next Topic: Re: Problem using ReadS to read a long string

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

Current Time: Wed Oct 08 17:33:45 PDT 2025

Total time taken to generate the page: 0.00506 seconds