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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,57893ac51069959a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.190.99 with SMTP id gp3mr8261852pbc.1.1327425285476; Tue, 24 Jan 2012 09:14:45 -0800 (PST) Path: lh20ni219324pbb.0!nntp.google.com!news1.google.com!postnews.google.com!cf6g2000vbb.googlegroups.com!not-for-mail From: Ada BRL Newsgroups: comp.lang.ada Subject: Re: "C - like: THIS" pointer to a task type inside a task function Date: Tue, 24 Jan 2012 09:13:26 -0800 (PST) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 164.11.203.58 Mime-Version: 1.0 X-Trace: posting.google.com 1327425285 27614 127.0.0.1 (24 Jan 2012 17:14:45 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 24 Jan 2012 17:14:45 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: cf6g2000vbb.googlegroups.com; posting-host=164.11.203.58; posting-account=yig7mwoAAAAAcduNbH7Dpal1sjCSAijA User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUARELSCNK X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7,gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-01-24T09:13:26-08:00 List-Id: On 23 Gen, 20:20, Jeffrey Carter wrote: > On 01/23/2012 12:32 PM, Ada BRL wrote: > > I think perhaps you should become more familiar with basic Ada before att= empting > something like this. In addition to the use of "in out" parameters alread= y > suggested, creating multiple objects of a task type is better than having > multiple singleton tasks. > > > =A0 =A0 =A0 =A0 =A0 =A0Data : String; > > This is illegal. I know, was just an example, not a copy paste of my code :-). > > > =A0 =A0 =A0 =A0 =A0 =A0while True loop > > "loop" all by itself has the same effect, and is clearer. See above. > > -- > Jeff Carter > "I was hobbling along, minding my own business, all of a > sudden, up he comes, cures me! One minute I'm a leper with > a trade, next minute my livelihood's gone! Not so much as a > 'by your leave!' You're cured, mate. Bloody do-gooder!" > Monty Python's Life of Brian > 76 > > --- Posted via news://freenews.netfront.net/ - Complaints to n...@netfron= t.net ---