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,99ed97730e0f8a4b X-Google-Attributes: gid103376,public From: Niklas Holsti Subject: Re: Inheritance and initialization? Date: 1998/07/10 Message-ID: <35A663CA.198C31C2@icon.fi>#1/1 X-Deja-AN: 370289241 Content-Transfer-Encoding: 7bit References: <35A38A7A.93BAA6F8@tech.swh.lv> To: Maxim Senin Content-Type: text/plain; charset=us-ascii Organization: Sonera Corporation News Service Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-07-10T00:00:00+00:00 List-Id: Maxim Senin wrote: > > I'm new to ADA 95, and experience some problems with it... One of them > is the following. > There seems to be a component name mismatch between GUIEvent and your aggregate: the GUIEvent component is named "code", the aggregate seems to use "eventCode": > > type GUIEvent is new EventObject with record > code : Integer; **** ... > function newKeyEvent (this : PObject; anEventCode, aKeyCode, aMask : Integer) return PKeyEvent is > begin > return new KeyEvent' (src => this, eventCode => anEventCode, *********