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

Home » Public Forums » archive » How to make an attribute of the oject visible outside of the class
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
How to make an attribute of the oject visible outside of the class [message #56229] Fri, 12 October 2007 14:48
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Hi people,
If I have an object like this:
PRO objectA__define
struct = { objectA, $
a:0L $
}
END
and another object like this:
PRO objectB__define
struct = {objectB, $
A:OBJ_NEW(objectA) $
}
END

How can I do for in a method in the class objectB treat with
self.A.a ??? Is it possible?
My code is more complex that this example and for the moment I resolve
this problem using pointers..

I'm grateful for any suggestions

bye
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Bug in SWITCH - ELSE: statement?
Next Topic: Re: How to make an attribute of the oject visible outside of the class

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

Current Time: Wed Oct 08 13:46:49 PDT 2025

Total time taken to generate the page: 0.00480 seconds