comp.lang.ada
 help / color / mirror / Atom feed
* Contraint error
@ 1998-10-11  0:00 Renwick Preston
  1998-10-11  0:00 ` Tucker Taft
  1998-10-11  0:00 ` Matthew Heaney
  0 siblings, 2 replies; 7+ messages in thread
From: Renwick Preston @ 1998-10-11  0:00 UTC (permalink / raw)


My program just started creating a constraint error after I added some Boolean variables
with code that used those variables. I'm thinking that the way I'm using them is what is
causing the problem.

I first initialize them all to False. In my program I have a case statement with some code for
each case. Here is a snippet:

case Month
when June
    If June_Completed then        <- Line added
    < some code here>
    June_Completed := True;    <- Line added
    End if;                                <- Line added
<more code>
end case;

Everything worked fine until I added the lines marked.

What could be the problem?

Ren






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1998-10-11  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-11  0:00 Contraint error Renwick Preston
1998-10-11  0:00 ` Tucker Taft
1998-10-11  0:00 ` Matthew Heaney
1998-10-11  0:00   ` Renwick Preston
1998-10-11  0:00   ` Renwick Preston
1998-10-11  0:00     ` Matthew Heaney
1998-10-11  0:00     ` Tom Moran

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