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

Home » Public Forums » archive » Changing elements in structures
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Changing elements in structures [message #18325] Wed, 15 December 1999 00:00
Alvaro is currently offline  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)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: How do you access a field in a struct?
Next Topic: How do you access a field in a struct?

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

Current Time: Thu Oct 09 22:48:56 PDT 2025

Total time taken to generate the page: 0.71780 seconds