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

Home » Public Forums » archive » Re: How to Acces heap object.
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: How to Acces heap object. [message #35219] Tue, 27 May 2003 12:43 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"David Fanning" <david@dfanning.com> wrote in message
news:MPG.193d023fdad41056989bb1@news.frii.com...
> Miguel writes:
>
>> Ok, my procedure is only an example, I know I can return the
>> value with a function. But I want to acces to the variable oMsgCat object
>> as a global variable.
>
> If you want it to be global, you have two choices.
> Make it a system variable (DEFSYSV), or put it in
> a common block.

If you've lost a reference to an heap variable you can retrieve it with the
OBJ_VALID and PTR_VALID functions. When called with no arguments, they
return a list of all valid object/pointer heap variables. They both also
support a CAST keyword, which you can use to track down objects/pointers
given the ouput of the HELP command.

Another possibiility: if you have a GUI object, build a facility into the
code that will tell you its object reference.

But perhaps you should tell us more about what you are *really* trying to
do.


--

Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Creating Colour Maps
Next Topic: video cards

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

Current Time: Wed Oct 08 18:22:54 PDT 2025

Total time taken to generate the page: 0.00435 seconds