For example: IDL> a = 10 IDL> b = ptr_new( a, /allocate_heap ) IDL> *b = 20 IDL> print, a 10 IDL> I would expect by dereferencing pointer "b", and setting it to another value, this should change the value of "a", although this is not the case. What could I do to get the desired result?
|