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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bbc77d6e9a74feb5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-08 11:40:12 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: please help - access and inheritence Date: Mon, 08 Dec 2003 20:05:57 +0100 Organization: AdaCL Message-ID: <4000361.TTShLBfMUz@linux1.krischik.com> References: <3fd27939$1@news.barak.net.il> Reply-To: krischik@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1070912242 03 9724 he8sG2q6+eTaQtt 031208 19:37:22 X-Complaints-To: usenet-abuse@t-online.de X-ID: SCmXd-ZeQeNgKS4++lBZ1jTmRZAba1z-l1Qk2b+pLwpovplFcmAUY3 User-Agent: KNode/0.7.2 Xref: archiver1.google.com comp.lang.ada:3235 Date: 2003-12-08T20:05:57+01:00 List-Id: Jeffrey Carter wrote: > Mr. J. wrote: >> if(Has_Exceeded(Arr(2).all)) then > > What happens if you change this to Arr (I), which I'm sure you must have > intended? > >> Has_Exceeded is a virtual function, the base class: > > Ada doesn't have virtual functions. Be fair to the beginer. Ada does have dispaching. With Regards Martin -- mailto://krischik@users.sourceforge.net http://adacl.sourceforge.net