* What is a "Constraint Error"
@ 1998-11-05 0:00 robinsoj
1998-11-06 0:00 ` Dale Stanbrough
1998-11-06 0:00 ` Matthew Heaney
0 siblings, 2 replies; 4+ messages in thread
From: robinsoj @ 1998-11-05 0:00 UTC (permalink / raw)
I get a "constraint error" when I run a program that I compiled with GNAT Ada.
What does "constraint error" mean?
--
James H. Robinson, III
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: What is a "Constraint Error"
1998-11-05 0:00 What is a "Constraint Error" robinsoj
1998-11-06 0:00 ` Dale Stanbrough
@ 1998-11-06 0:00 ` Matthew Heaney
1 sibling, 0 replies; 4+ messages in thread
From: Matthew Heaney @ 1998-11-06 0:00 UTC (permalink / raw)
robinsoj@my-dejanews.com writes:
> I get a "constraint error" when I run a program that I compiled with
> GNAT Ada. What does "constraint error" mean?
Go to <http://www.adahome.com/> and go through one of the tutorials.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: What is a "Constraint Error"
1998-11-06 0:00 ` Dale Stanbrough
@ 1998-11-06 0:00 ` Tom Moran
0 siblings, 0 replies; 4+ messages in thread
From: Tom Moran @ 1998-11-06 0:00 UTC (permalink / raw)
Or you tried to store some out-of-range value, eg, a negative value in
a variable of type "positive", the value 13 in
eggs_in_box : integer range 0 .. 12;
etc.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: What is a "Constraint Error"
1998-11-05 0:00 What is a "Constraint Error" robinsoj
@ 1998-11-06 0:00 ` Dale Stanbrough
1998-11-06 0:00 ` Tom Moran
1998-11-06 0:00 ` Matthew Heaney
1 sibling, 1 reply; 4+ messages in thread
From: Dale Stanbrough @ 1998-11-06 0:00 UTC (permalink / raw)
robinsoj wrote:
I get a "constraint error" when I run a program that I compiled with GNAT Ada.
What does "constraint error" mean?
It means that
* you fell off the end of an array (most likely)
* you had a null pointer, and you tried to dereference it
* you generally did something that you asked the compiler to
look out for (which it duly did, and reported the fault in the
program you wrote).
Dale
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-11-06 0:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-05 0:00 What is a "Constraint Error" robinsoj
1998-11-06 0:00 ` Dale Stanbrough
1998-11-06 0:00 ` Tom Moran
1998-11-06 0:00 ` Matthew Heaney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox