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,b031f1e9322936f1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-20 17:55:06 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!news-hub.siol.net!zur.uu.net!dca.uu.net!ash.uu.net!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr21.news.prodigy.com.POSTED!3bae8248!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Constraint error help.. References: X-Newsreader: Tom's custom newsreader Message-ID: <9VgG8.266$km.19217757@newssvr21.news.prodigy.com> NNTP-Posting-Host: 64.175.240.228 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr21.news.prodigy.com 1021942469 ST000 64.175.240.228 (Mon, 20 May 2002 20:54:29 EDT) NNTP-Posting-Date: Mon, 20 May 2002 20:54:29 EDT Organization: Prodigy Internet http://www.prodigy.com X-UserInfo1: SCSGGTSDZRRQBQH]]RKB_UDAZZ\DPCPDLXUNNHPHBATBTSUBYFWEAE[YJLYPIWKHTFCMZKVMB^[Z^DOBRVVMOSPFHNSYXVDIE@X\BUC@GTSX@DL^GKFFHQCCE\G[JJBMYDYIJCZM@AY]GNGPJD]YNNW\GSX^GSCKHA[]@CCB\[@LATPD\L@J\\PF]VR[QPJN Date: Tue, 21 May 2002 00:54:29 GMT Xref: archiver1.google.com comp.lang.ada:24443 Date: 2002-05-21T00:54:29+00:00 List-Id: >I am getting a constraint error for this line Word_Array(I) := Word; and I Compiling and running with Janus Ada, I get: ** Unhandled CONSTRAINT_ERROR Index or Subtype out of bounds - Pos of Error Value = 0 On Line Number 89 In FILEARRAY.STORE Called from line number 115 In FILEARRAY which is not a surprise given that the code sets I=0 and Word_Array is: Word_Array : ARRAY(1..30) ...