comp.lang.ada
 help / color / mirror / Atom feed
From: L Dries <bertus.dries@planet.nl>
Subject: raised CONSTRAINT_ERROR : sudoku_choose_chr_cb.adb:57 access check failed
Date: Wed, 22 Jan 2020 07:58:13 +0100	[thread overview]
Date: 2020-01-22T07:58:13+01:00	[thread overview]
Message-ID: <5e27f287$0$1714$e4fe514c@news.kpn.nl> (raw)

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

             reply	other threads:[~2020-01-22  6:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-22  6:58 L Dries [this message]
2020-01-22 12:04 ` Jeffrey R. Carter
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox