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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.140.157.74 with SMTP id d71mr5454659qhd.13.1449615842413; Tue, 08 Dec 2015 15:04:02 -0800 (PST) X-Received: by 10.182.148.165 with SMTP id tt5mr39742obb.20.1449615842377; Tue, 08 Dec 2015 15:04:02 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!b51no7309777qgf.0!news-out.google.com!f6ni17328igq.0!nntp.google.com!mv3no13575151igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 8 Dec 2015 15:04:02 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=109.88.54.35; posting-account=6m7axgkAAADBKh082FfZLdYsJ24CXYi5 NNTP-Posting-Host: 109.88.54.35 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> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: I'm facing an issue with: call to abstract procedure must be dispatching From: Serge Robyns Injection-Date: Tue, 08 Dec 2015 23:04:02 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2789 X-Received-Body-CRC: 1641453009 Xref: news.eternal-september.org comp.lang.ada:28725 Date: 2015-12-08T15:04:02-08:00 List-Id: On Tuesday, 8 December 2015 23:55:52 UTC+1, Jeffrey R. Carter wrote: > On 12/08/2015 01:21 PM, Serge Robyns wrote: > >=20 > > 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 wh= en 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 b= y > > extension ... >=20 > 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. >=20 How do I then pass the context? I mean, now I pass the parameter around. = through global variables? Also in the future I would like to have multiple= "tasks" running, each with their "context", especially the db session. I = do believe these are good reasons for having a variable.