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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost2.xs4all.net!news.kpn.nl!not-for-mail Newsgroups: comp.lang.ada X-Mozilla-News-Host: news://comp.lang.ada:119 From: L Dries Subject: raised CONSTRAINT_ERROR : sudoku_choose_chr_cb.adb:57 access check failed Date: Wed, 22 Jan 2020 07:58:13 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: nl Content-Transfer-Encoding: 7bit Message-ID: <5e27f287$0$1714$e4fe514c@news.kpn.nl> NNTP-Posting-Host: 5934c9ac.news.kpn.nl X-Trace: G=5oA3chPN,C=U2FsdGVkX19Hg0mVbxmT9MGRSQ7ac8QAMuQzaOE4XQeuBmE7+7hyQeOmKQdPl7Xg0kKnd2uiY+M2rekgKMdHtyoPgSE0bfLRD8eimKEyvwY= X-Complaints-To: abuse@kpn.nl Xref: reader01.eternal-september.org comp.lang.ada:57916 Date: 2020-01-22T07:58:13+01:00 List-Id: The line (57): Append_Text(Choose_Chr_Dialog.Str_Combo_Choose_Char, To_String(symbols(n, 2))); gives: raised CONSTRAINT_ERROR : sudoku_choose_chr_cb.adb:57 access check failed the value of n = 1 declaration of symbols(0 .. 36, 1 ..3) array of unboumded_string output of symbols(n, 2) as well as To_String(symbols(n, 2)) results in A which is the value present in symbols(n,2) In other parts of the program this statement does not present problems The statement is used in then On_OK routine of another Dialog. Of that Dialog the is Ended before Appen_Text is called -- L. Dries