comp.lang.ada
 help / color / mirror / Atom feed
* interacting objects
@ 2000-12-13  2:41 HDhil
  0 siblings, 0 replies; only message in thread
From: HDhil @ 2000-12-13  2:41 UTC (permalink / raw)


If i specify an object in one package specification,
is it possible to write functions in a second
object's specification referncing the former object
(or types of the former object)?

For example,

package A {
     type FirstObj is private;

     -- some code
}

package B {
    type SecondObj is private;

    function DoSomethingOnSecondObj return FirstObj;
}

Regards,
Harry



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-12-13  2:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-13  2:41 interacting objects HDhil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox