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.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA 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-7-bit Received: by 10.68.199.73 with SMTP id ji9mr6068465pbc.5.1327350043529; Mon, 23 Jan 2012 12:20:43 -0800 (PST) Path: lh20ni216090pbb.0!nntp.google.com!news2.google.com!goblin3!goblin.stu.neva.ru!news.netfront.net!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: "C - like: THIS" pointer to a task type inside a task function Date: Mon, 23 Jan 2012 13:20:40 -0700 Organization: Also freenews.netfront.net; news.tornevall.net Message-ID: References: NNTP-Posting-Host: 70.218.214.183 Mime-Version: 1.0 X-Trace: adenine.netfront.net 1327350042 24924 70.218.214.183 (23 Jan 2012 20:20:42 GMT) X-Complaints-To: news@netfront.net NNTP-Posting-Date: Mon, 23 Jan 2012 20:20:42 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2012-01-23T13:20:40-07:00 List-Id: On 01/23/2012 12:32 PM, Ada BRL wrote: I think perhaps you should become more familiar with basic Ada before attempting something like this. In addition to the use of "in out" parameters already suggested, creating multiple objects of a task type is better than having multiple singleton tasks. > Data : String; This is illegal. > while True loop "loop" all by itself has the same effect, and is clearer. -- 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 news@netfront.net ---