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

Home » Public Forums » archive » IDL V5 and Pointers
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDL V5 and Pointers [message #9620] Wed, 23 July 1997 00:00 Go to previous message
martin is currently offline  martin
Messages: 18
Registered: January 1993
Junior Member
I just started using pointers in IDL. Does anyone know how to get create a
pointer that points to an existing variable, without duplicating the
variable and without making it undefined?

For example:

x=findgen(1000,1000,1000) ; a big array
.
.
.
lots of code
.
.
.
.
ptr=ptr_new()
ptr=&x ; this syntax is derived from C and is not valid in IDL.
; Does anyone know how to do the equivalent in IDL?

Thanks,

Charles Martin
[Message index]
 
Read Message
Read Message
Previous Topic: Re: how to do bitwise operation in IDL???
Next Topic: Object Images

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

Current Time: Sat Oct 11 17:20:31 PDT 2025

Total time taken to generate the page: 0.00938 seconds