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

Home » Public Forums » archive » Re: Pointer syntax and IDL 4.0
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: Pointer syntax and IDL 4.0 [message #28615 is a reply to message #28532] Wed, 19 December 2001 15:36 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Paul van Delst <paul.vandelst@noaa.gov> writes:

> tam wrote:
>>
>> Recently I upgraded the a couple of routines to use pointers
>> in certain special cases. However the pointer dereference operator
>> is illegal prior to version 5.0, so the code fails to compile on
...
>> Any ideas?
>
> Have a lookie at:
>
> http://cimss.ssec.wisc.edu/~gumley/pointers.html

Paul is right. Liam's code will work in IDL 4 and 5, and provides an
interface that works under both versions of IDL too. Under IDL 4
there are no pointers, but "handles" are used instead, which have
basically the same functionality. Basically you use POINTER_CREATE,
POINTER_VALUE and POINTER_FREE in place of the normal pointer
operations, and you are done.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: generic text box window
Next Topic: RE: David Stern Leaves RSI

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

Current Time: Fri Oct 10 07:43:01 PDT 2025

Total time taken to generate the page: 3.03942 seconds