From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,52d41ed2965dfc50,start X-Google-Attributes: gid103376,public From: chris@ECE.Concordia.CA (Chris O'Regan) Subject: Something like "->" in Ada? Date: 1996/04/01 Message-ID: <4jpd79$ces@newsflash.concordia.ca>#1/1 X-Deja-AN: 145284728 organization: ECE - Concordia University nntp-posting-user: chris newsgroups: comp.lang.ada Date: 1996-04-01T00:00:00+00:00 List-Id: 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 , UNIX Systems Administrator Department of Electrical and Computer Engineering Concordia University, Montreal, Canada http://www.ECE.Concordia.CA/~chris/addr.html