comp.lang.ada
 help / color / mirror / Atom feed
* Something like "->" in Ada?
@ 1996-04-01  0:00 Chris O'Regan
  1996-04-01  0:00 ` Robert Dewar
  0 siblings, 1 reply; 7+ messages in thread
From: Chris O'Regan @ 1996-04-01  0:00 UTC (permalink / raw)



Hello,

   I am learning OOP with Ada 95.  Although I have only a bit of experience,
mostly with Perl 5, I find that the "->" operator is much more intuitive
than passing an object as a parameter to a subprogram.  Is it possible to
define "->" as the following:

	method( object ) = object->method()


   If so, how would I do that?


Thanks in advance,
--
    ____________________________________________________________________
     Chris O'Regan <chris@ECE.Concordia.CA>, UNIX Systems Administrator
              Department of Electrical and Computer Engineering
                   Concordia University, Montreal, Canada
                http://www.ECE.Concordia.CA/~chris/addr.html




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1996-04-04  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-04-01  0:00 Something like "->" in Ada? Chris O'Regan
1996-04-01  0:00 ` Robert Dewar
1996-04-02  0:00   ` Mike Young
1996-04-03  0:00     ` Robert Dewar
1996-04-04  0:00       ` Mike Young
1996-04-04  0:00       ` Mike Young
1996-04-03  0:00     ` Tucker Taft

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