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

Home » Public Forums » archive » Re: Logic problem
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: Logic problem [message #58200] Thu, 17 January 2008 11:20 Go to previous message
Ryan. is currently offline  Ryan.
Messages: 77
Registered: March 2006
Member
> Thanks Ben and Craig for your help. I wasn't aware of the VALUE_LOCATE
> function in IDL. I've tried these lines to get the results I want but I
> get "No Match" for every date I enter. I've traced it back to the "II"
> variable being an array of ones, all the time. Is this signaling that
> my DIRDATES array is not in ascending order? I currently haven't made
> any attempts to make it that way.

OK, I've figured it out. When I copied and pasted Craig's code into
mine, the indices were switched. That is why it kept spitting out ones.
The array it was using only had 2 elements so it was telling me that
all the values I use were located after the second element.

Thank you all for your help,
Ryan.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Format of contour labels?
Next Topic: bizzare idlwave abbrev behavior

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

Current Time: Thu Oct 09 23:44:20 PDT 2025

Total time taken to generate the page: 0.56072 seconds