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

Home » Public Forums » archive » IDL array subscripting issue
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: IDL array subscripting issue [message #90238 is a reply to message #90225] Fri, 13 February 2015 01:32 Go to previous message
David B is currently offline  David B
Messages: 18
Registered: January 2015
Junior Member
Thanks all!

The can cause issue say when you concatenate new elements onto your array upon which the index is subscripting, as then your array refernce becomes incorrect. I have just handled the case on its own and shifted the array value down to its proper value so:

index[WHERE(index EQ n_elements(array)]--

David
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Variable attributes and undef vars
Next Topic: CURVFIT with XY error

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

Current Time: Sun Oct 12 01:28:39 PDT 2025

Total time taken to generate the page: 0.79796 seconds