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

Home » Public Forums » archive » Re: readcol not reading all lines
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: readcol not reading all lines [message #75497 is a reply to message #75495] Fri, 11 March 2011 05:58 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
READCOL will skip lines that don't meet the specified format. A typical problem is reading a string which includes a space in it, which by default READCOL will interpret as a delimiter, and thus breakup into two separate fields.

I would remove the /SILENT keyword and include the /DEBUG keyword to have READCOL tell you which lines it thinks does not match the format. I might also set NUMLINES = 5000 say so you re not flooded with error messages.

If you do have spaces in your strings, you might have to use READFMT (or READ_ASCII). --Wayne
[Message index]
 
Read Message
Read Message
Previous Topic: readcol not reading all lines
Next Topic: Re: combine subsections within xlabels

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

Current Time: Wed Oct 08 16:13:04 PDT 2025

Total time taken to generate the page: 0.00505 seconds