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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ec4a7355f321a22b X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news1.google.com!news.glorb.com!dedekind.zen.co.uk!zen.net.uk!demorgan.zen.co.uk!194.72.9.35.MISMATCH!news-peer1!btnet-feed3!newreader.ukcore.bt.net!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: Task discriminants Date: Fri, 21 May 2004 12:43:52 +0000 (UTC) Organization: BT Openworld Message-ID: References: <40ACC50E.9040406@mail.usyd.edu.au> <40adcdfe_1@baen1673807.greenlnk.net> NNTP-Posting-Host: host81-152-56-112.range81-152.btcentralplus.com X-Trace: titan.btinternet.com 1085143432 25607 81.152.56.112 (21 May 2004 12:43:52 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Fri, 21 May 2004 12:43:52 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MSMail-Priority: Normal X-Priority: 3 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Xref: controlnews3.google.com comp.lang.ada:742 Date: 2004-05-21T12:43:52+00:00 List-Id: "Phil Slater" wrote in message news:40adcdfe_1@baen1673807.greenlnk.net... > This prompts the question, "are tasks on an array elaborated in order from > low-index to high-index? So is Martin's code below guaranteed to make each > task's discriminant the same as its index on the array? I looked in RM95 but > couldn't locate order of elaboration of array elements. > > If so, it's potentially useful for setting up an array of tasks that passes > data up and down the array by each rendezvousing with its neighbours. > (Obviously the start value of Id and the index range of the array have to be > consistent.) > > But if the order of elaboration isn't guaranteed, we're back to the old > "roll-call" initialisation rendezvous again. Difinately one for the language lawyers but _in_the_real_world_ I've yet to come across a compiler that did anything other than the 'sensible' thing. Randy are there? :-)