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.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: I'm facing an issue with: call to abstract procedure must be dispatching Date: Tue, 8 Dec 2015 15:55:49 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <8bc7fd76-f00a-4eea-9715-470af028fc84@googlegroups.com> <1krm4xun4e4ny.jmh9kvf6s0a9.dlg@40tude.net> <12dc7aea-933d-4271-95bd-10df808917e4@googlegroups.com> <5hfb2q9imjfu.zs3xp9gxw0d3.dlg@40tude.net> <5788b259-8886-4ee2-8c3d-7799abfd840e@googlegroups.com> <14acd8b0-a5e9-40fd-b7cc-d319f914d507@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Tue, 8 Dec 2015 22:53:23 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="caa759af2a9c666aec02942f6fe5abd6"; logging-data="4027"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX192oirZvI35vMYdAfWa3dinpSnW602MuPU=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <14acd8b0-a5e9-40fd-b7cc-d319f914d507@googlegroups.com> X-Mozilla-News-Host: news://freenews.netfront.net Cancel-Lock: sha1:tbWkiVAkxZVCtNSQp/Kb2r8h5ic= Xref: news.eternal-september.org comp.lang.ada:28724 Date: 2015-12-08T15:55:49-07:00 List-Id: On 12/08/2015 01:21 PM, Serge Robyns wrote: > > Before it was a limited interface and hence no record. This reminds me I > haven't yet fully figured out when it is best use limited and when not > for my cases. So far I can use limited as I don't need the assignment for > T_Store. Likewise from you here I try to avoid access variable as much as > possible but at times I've no choice, well at least I use programming by > extension ... If you don't need assignment because there will never be more than one of them, that's an indication that you don't need a type and a variable; you need a module. I suspect you think in terms of types because C++ only provides encapsulation and information hiding through its class construct. In Ada, your 1st thought when you want encapsulation or information hiding should be a pkg. -- Jeff Carter "Your mother was a hamster and your father smelt of elderberries." Monty Python & the Holy Grail 06