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 #67465 is a reply to message #67226] Tue, 21 July 2009 15:26 Go to previous message
b.a is currently offline  b.a
Messages: 26
Registered: July 2009
Junior Member
On Jul 21, 10:30 pm, David Fanning <n...@dfanning.com> wrote:
> b.a writes:
>> Thanks. HashTable is exactly what I want and I gone through the
>> relevant page for that. But still I can't write even a simple code to
>> actually use hashTable. I mean I am confused about the syntax. Is it
>> like I have to define each method in a separate program and then call
>> them from main?
>> I also tried the following which is the example provided, but no
>> progress.
>
>> pro test
>
>>    mylist = Obj_New("LINKEDLIST", 5)
>>    mylist->Add, 10
>>    mylist->Add, 7, 1, /Before
>>    mylist->Add, 12
>>    print, mylist->Get_Item(/All, /Deref)
>>    mylist->Replace_Item, 1, 'Bob'
>>    mylist->Help
>>    mylist->Delete
>>    mylist->Help, /Print
>
>> end
>
> I'm not sure I understand you question. This example
> works perfectly, as far as I can tell. Is something else
> happening for you?
>
> 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.")- Hide quoted text -
>
> - Show quoted text -

Hi David,

After reading your code again, I realized what my problem was and I
hope I am right. I used to think that same as in Java, linkedlist is
predefined and it has all the methods relevant to it. But as I
understood, I have to define the structure of linkedlist and all the
methods I need, in separate programs and call them from my main
program.

Thank you
[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 13:03:22 PDT 2025

Total time taken to generate the page: 0.15451 seconds