comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <nholsti@icon.fi>
To: Maxim Senin <maks@tech.swh.lv>
Subject: Re: Inheritance and initialization?
Date: 1998/07/10
Date: 1998-07-10T00:00:00+00:00	[thread overview]
Message-ID: <35A663CA.198C31C2@icon.fi> (raw)
In-Reply-To: 35A38A7A.93BAA6F8@tech.swh.lv

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,
                                              *********




      parent reply	other threads:[~1998-07-10  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <35A38A7A.93BAA6F8@tech.swh.lv>
1998-07-10  0:00 ` Inheritance and initialization? Robert I. Eachus
1998-07-10  0:00 ` Niklas Holsti [this message]
replies disabled

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