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

Home » Public Forums » archive » Re: hashmap in idl
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: hashmap in idl [message #67231 is a reply to message #67226] Mon, 20 July 2009 23:21 Go to previous messageGo to previous message
b.a is currently offline  b.a
Messages: 26
Registered: July 2009
Junior Member
On Jul 20, 10:21 pm, David Fanning <n...@dfanning.com> wrote:
> b.a writes:
>> I have some 2D arrays that I want to give each of them, kind of index
>> so I can call them in my program by their indexes. Maybe something
>> like Hashmap in java and the number of arrays is not constant. I mean
>> in the middle of the program, new 2D arrays are created or eliminated
>> and I want to keep track of them.
>
> You could use Craig Markwardt's HashTable, or even my LinkedList
> object. Or, even a simple pointer array, for that matter.
>
>   http://cow.physics.wisc.edu/~craigm/idl/arrays.html
>   http://www.dfanning.com/programs/linkedlist__define.pro
>
>> I am also thinking of associating each 2D array to its relevant
>> widget_base which makes my program more efficient. But I don't know
>> how!!!
>
> I typically make an image object in these cases, with which window
> to draw into part of the "state" of an image, along with which color
> table to use to display it, how to scale it, etc.
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Sorry not HashTable, LinkedList is what I have to use and I tried
linked list example.

Thanks
[Message index]
 
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: speed up image processing
Next Topic: Re: problems with IDL-IDL bridge spawning

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

Current Time: Fri Oct 10 05:28:00 PDT 2025

Total time taken to generate the page: 0.80080 seconds