[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pointer question
"Mark Hadfield" <m.hadfield@niwa.cri.nz> writes:
> "Craig Markwardt" <craigmnet@cow.physics.wisc.edu> wrote in message
> onelvpxgqt.fsf@cow.physics.wisc.edu">news:onelvpxgqt.fsf@cow.physics.wisc.edu...
> >
> > So, is there a way to go the *other* direction? Which is to say, if
> > you have a pointer, can you get its index number? [ not using HELP of
> > course. ]
>
> Err... parse the output of string(myptrvar, /PRINT)
Hey, that's kind of neat! (in an IDL-kludgey-sort-of-way)
Craig
--
--------------------------------------------------------------------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
--------------------------------------------------------------------------