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

Home » Public Forums » archive » Utilities for converting IDL4 handles to IDL5 pointers
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
Utilities for converting IDL4 handles to IDL5 pointers [message #15730] Thu, 10 June 1999 00:00 Go to next message
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
While converting IDL4 handles to IDL5 pointers in my SHARP application,
I found it very useful to have pointer wrapper routines which behaved
the same as the obsolete HANDLE_CREATE, HANDLE_FREE, and HANDLE_VALUE
routines (type '? obsolete' at the IDL5 prompt for obsolete routine
information). To assist others who may be converting from using handles
to pointers, I've posted the wrapper routines at

http://cimss.ssec.wisc.edu/~gumley/pointers.html

Cheers,
Liam.

--
Liam E. Gumley
Space Science and Engineering Center, UW-Madison
http://cimss.ssec.wisc.edu/~gumley
Re: Utilities for converting IDL4 handles to IDL5 pointers [message #15802 is a reply to message #15730] Fri, 11 June 1999 00:00 Go to previous message
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
Liam Gumley wrote:
> While converting IDL4 handles to IDL5 pointers in my SHARP application,
> I found it very useful to have pointer wrapper routines which behaved
> the same as the obsolete HANDLE_CREATE, HANDLE_FREE, and HANDLE_VALUE
> routines (type '? obsolete' at the IDL5 prompt for obsolete routine
> information). To assist others who may be converting from using handles
> to pointers, I've posted the wrapper routines at
>
> http://cimss.ssec.wisc.edu/~gumley/pointers.html

At the request of Craig Markwardt, I've modified the pointer utilities
so they can be used in IDL5 or IDL4. See the web page above for the
source code.

Cheers,
Liam.

PS: It was an interesting programming exercise figuring out how to avoid
having IDL4 encounter the IDL5 pointer dereference operator '*'.

--
Liam E. Gumley
Space Science and Engineering Center, UW-Madison
http://cimss.ssec.wisc.edu/~gumley
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: retrieving standard error stream from IDL
Next Topic: solutions for the nearest neighbour problem in IDL

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

Current Time: Wed Oct 08 13:37:49 PDT 2025

Total time taken to generate the page: 0.00550 seconds