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

Home » Public Forums » archive » Problem with COMMON block
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Problem with COMMON block [message #14908 is a reply to message #14800] Thu, 01 April 1999 00:00 Go to previous message
Michael Werger is currently offline  Michael Werger
Messages: 34
Registered: May 1997
Member
VU KHAC Tri wrote:
>
> Hi folks,
>
> I have written 2 following procedures, but IDL compilator signals an
> error at
> using "StdImage.FileName" since it does not know the definition of
> StdImage in the COMMON block.
> Could you tell my the reason and your solution ?

> pro WindowLoadImage_event, event
> COMMON SHAREIMAGE

change this line into:

COMMON SHAREIMAGE, StdImage, ObjImage


> WIDGET_CONTROL, event.id, GET_UVALUE = selected
> ; define a temporal type
> ...

Still doesn't work? Then try to avoid COMMON (recommended).
Just put all your required variables in a structure
and put this into the base widget uvalue or value
then you may easily read/write this again -

If you need to know more, just send me an email (but think
of the easter holidays...)


--
Michael Werger ------------o
ESA ESTEC & Praesepe B.V. |
Astrophysics Division mwerger@astro.estec.esa.nl|
| Postbus 299 http://astro.estec.esa.nl |
| 2200 AG Noordwijk +31 71 565 3783 (Voice)
o------------------- The Netherlands +31 71 565 4690 (FAX)
[Message index]
 
Read Message
Read Message
Previous Topic: WRITE_TIFF
Next Topic: Re: axis annotations: tickmarks

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

Current Time: Fri Oct 10 20:13:25 PDT 2025

Total time taken to generate the page: 0.23890 seconds