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-Thread: a07f3367d7,56525db28240414a X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.224.174.74 with SMTP id s10mr917786qaz.1.1343297797779; Thu, 26 Jul 2012 03:16:37 -0700 (PDT) Received: by 10.66.89.161 with SMTP id bp1mr1511232pab.33.1343297440525; Thu, 26 Jul 2012 03:10:40 -0700 (PDT) Path: a15ni105485768qag.0!nntp.google.com!q21no7661912qas.0!news-out.google.com!b9ni63269759pbl.0!nntp.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: Efficient Sequential Access to Arrays Date: Thu, 26 Jul 2012 10:10:39 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <01983f1c-f842-4b1f-a180-bcef531dad4c@googlegroups.com> <87ipdf4vh6.fsf@mid.deneb.enyo.de> <4ce44d2d-d789-42a0-a6ed-035f7f8d58be@googlegroups.com> Mime-Version: 1.0 Injection-Date: Thu, 26 Jul 2012 10:10:39 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="0e44dd4a3c4e0a6e83a86f947fb780ae"; logging-data="14727"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18SwBynou1hmPvVhmZjl/zfnBWUc7kukAs=" User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) Cancel-Lock: sha1:4GI3vAhjZe3aAe89asuIdm8izXA= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: 2012-07-26T10:10:39+00:00 List-Id: On Thu, 26 Jul 2012 01:38:41 -0700, Keean Schupke wrote: > This is an equivalent concept to nullable, so two questions: > > What is the literal for 'invalid', IE: > > X : Index := #INVALID -- we should be able to initialise to invalid. > > if X = #INVALID -- I want to be able to test for invalid. There's an attribute for that. if X'Valid ... - Brian