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

Home » Public Forums » archive » Re: Tips for IDL-istic file transfer...? Please help me.
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: Tips for IDL-istic file transfer...? Please help me. [message #70821] Tue, 11 May 2010 07:01 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
That indicates that your where() is not finding anything. You should
test the number of indexes found, which is already going into n.

By the way, if you are using stregex just to test if a match is found,
it is cleaner to give it the boolean keyword. That way it already
returns true or false, getting rid of the need to test if the position
is -1:

ind=where(stregex(...,/boolean),n)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Possible to get name of current procedure from within procedure?
Next Topic: SST data

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

Current Time: Wed Oct 08 13:31:53 PDT 2025

Total time taken to generate the page: 0.00455 seconds