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

Home » Public Forums » archive » Re: linked lists?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: linked lists? [message #6056] Wed, 03 April 1996 00:00
rkj is currently offline  rkj
Messages: 66
Registered: February 1996
Member
What about PV-Wave? Is there a way to generate linked lists?
If not this certainly would be an advantage for IDL.


Kyle J.
Re: linked lists? [message #6059 is a reply to message #6056] Tue, 02 April 1996 00:00 Go to previous message
Karl Young is currently offline  Karl Young
Messages: 31
Registered: April 1996
Member
Ramon Soto de la Cruz wrote:
>
> How can I implement linked lists on IDL?
> There are superiror estructures like this definedover IDL?
>
> Thanks in advance.

There's a nice description of how to use Handles
(i.e. the closest thing IDL has to pointers) to
create linked lists on page 11-19 of the IDL User's
Guide. There's also a nice treatment of the same topic
in the Programming Techniques chapter of "Learning
IDL" if you happen to have that (if you don't you
might think about obtaining it; it's got some useful
stuff in it) Hope that helps some,

-- Karl Young
Re: linked lists? [message #6060 is a reply to message #6059] Tue, 02 April 1996 00:00 Go to previous message
Ken Knighton is currently offline  Ken Knighton
Messages: 44
Registered: May 1995
Member
Ramon Soto de la Cruz <rsotoc@guarijio.fisica.uson.mx> wrote:
> How can I implement linked lists on IDL?
> There are superiror estructures like this definedover IDL?

Use the HANDLE_CREATE, HANDLE_VALUE, etc., procedures/functions. These
built-in IDL commands make linked lists fairly trivial. See the docs.

For an example of using handles to deal with tree structured data, see
the example idl_tree.pro in the IDL distribution.

I hope this helps.

Ken Knighton knighton@gav.gat.com knighton@cts.com
General Atomics
San Diego, CA
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: SIGN function?
Next Topic: Re: widget help

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

Current Time: Wed Oct 08 13:46:21 PDT 2025

Total time taken to generate the page: 0.00560 seconds