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

Home » Public Forums » archive » Re: idl_conatiner::get and position
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_conatiner::get and position [message #42766] Thu, 24 February 2005 16:01 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Ben Tupper writes:

> When GETting objects in a container the POSITION keyword specifies the location
> of the objects needed. But they aren't returned in that order. They are
> returned in the order they are stored (first in - first out).
>
> Is there a way around this other than writing a method override?

We have run into this problem, too. Our sub-classed container
can either be normal or "indexed", in which case when you
remove something from a container it is replaced by a null
object, so that the position of the other objects in the container
is preserved.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Previous Topic: Re: coordinates & transforms & plotting
Next Topic: idl_conatiner::get and position

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

Current Time: Thu Oct 09 22:43:50 PDT 2025

Total time taken to generate the page: 8.00115 seconds