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

Home » Public Forums » archive » Global variable vs 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: Global Variable [message #26832 is a reply to message #19399] Mon, 01 October 2001 05:04 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Martin Downing wrote:
>
> "Reimar Bauer" <r.bauer@fz-juelich.de> wrote in message
> news:3BB83D11.5A58FC00@fz-juelich.de...
>>
>> The fourth way is to use Pointers
>>
>>
>> value=10
>> ptr=ptr_new(value)
>>
>> help, *ptr
>>
>> Reimar
>>
>
> Reimar,
>
> If this is to be a global variable, do you have a cunning method of locating
> and identifying this variable off the heap?
>
> Martin

- locating is be done by ptr_valid()

- identifing is a bit more complicated.

At the moment I am only able to identify named structures as pointers.
We are using them as global variable in some of our widgets with
external communication
between some of our widgets.

http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_source/idl_ html/dbase/download/get_pointer.tar.gz


Reimar


--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg1/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml

http://www.fz-juelich.de/zb/text/publikation/juel3786.html
============================================================ ======

read something about linux / windows
http://www.suse.de/de/news/hotnews/MS.html
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Input Buffer Error Reading in Large ascii Files
Next Topic: General info question for newbie

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

Current Time: Wed Oct 08 13:48:09 PDT 2025

Total time taken to generate the page: 0.00451 seconds