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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,99c75a8440c619dc,start X-Google-Attributes: gid103376,public From: Michael Subject: Array range type for Verdix Ada83 compiler question. Date: 1999/09/09 Message-ID: <37D8106C.3F17@pipeline.com>#1/1 X-Deja-AN: 523087309 Content-Transfer-Encoding: 7bit Sender: nntp@news.boeing.com (Boeing NNTP News Access) X-Nntp-Posting-Host: e699492.he.boeing.com Content-Type: text/plain; charset=us-ascii Organization: AlphaSoft, Inc Mime-Version: 1.0 Reply-To: p5@alphasoft-inc.com Newsgroups: comp.lang.ada Date: 1999-09-09T00:00:00+00:00 List-Id: Hi, I have a bit a code: type ta is array (0 .. 8) of boolean; type Request_Numbers_Array is array (-100 .. 100) of integer; The first line compiles just fine. The second line says: "index range is ambiguous" and then gives me a list of possible types (i.e. Short, Long, Integer . . .) I fixed the problem in this way: type Request_Numbers_Array is array (Integer range -100 .. 100) of integer; My question is: Why do I need to do this? I would think it could pick a type most suitable for the range. Thanks in advance, Michael