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 #67226] Tue, 21 July 2009 05:30 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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.")
[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: Wed Oct 08 17:12:06 PDT 2025

Total time taken to generate the page: 0.00454 seconds