Changing elements in structures [message #18325] |
Wed, 15 December 1999 00:00 |
Alvaro
Messages: 6 Registered: December 1999
|
Junior Member |
|
|
Hello,
I'm new in the list, may name is Alvaro and I'm Spanish (so, I'm sorry about
mistakes in English grammar) and I've used using IDL for only one month.
I'm making a program that is a HDF viewer. My problem is how to pass
information between widgets.
I use a structure to pass the information but the problem is that at start I
don't know the size of the data, which will be read later from a file. I use
somethisg like this:
info={filename:"", $
data:IntArr(1,1) }
I use IntAr(1,1) because I don't the size until I open the filename
Can I change the size and also the type (Int to Float or Byte) of the tag
"data" of the structure?
Have you got any idea to do this, perhaps using pointers?
Thanks in advance.
____________________________________ ___ __ _
Alvaro, atarela@usc.es
University of Santiago de Compostela (SPAN)
|
|
|