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

Home » Public Forums » archive » Re: reading an ascii file efficiently
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 an ascii file efficiently [message #68904 is a reply to message #68903] Fri, 27 November 2009 19:27 Go to previous messageGo to previous message
Heinz Stege is currently offline  Heinz Stege
Messages: 189
Registered: January 2003
Senior Member
On Sat, 28 Nov 2009 04:16:35 +0100, Heinz Stege wrote:

> pos=strpos(rr,',',/reverse_search)
> result=float(strmid(rr,transpose(pos)))

Oh no, it doesn't work this way. We have to exclude the comma from
the string:

pos=strpos(rr,',',/reverse_search)
result=float(strmid(rr,transpose(pos)+1))

Heinz
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Larger arrays or more dimensions?
Next Topic: SHAPEFILE changes in IDL7.1?

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

Current Time: Sat Oct 11 12:51:56 PDT 2025

Total time taken to generate the page: 0.96458 seconds