comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Help With (raised CONSTRAINT_ERROR : main.adb:19 length check failed)
Date: Sun, 19 Dec 2010 20:10:25 -0700
Date: 2010-12-19T20:10:25-07:00	[thread overview]
Message-ID: <iemhpk$jog$1@tornado.tornevall.net> (raw)
In-Reply-To: <6bfd1676-3fd1-4d0d-86d3-a358ffbca98c@c39g2000yqi.googlegroups.com>

On 12/19/2010 07:34 PM, Farhad wrote:
>
> but when I try to run the program I get a CONSTRAINT_ERROR
>
> I HAVE A LOOP WHICH ADDS FIVE ELEMENTS TO THE LINKED LIST AND PRINTS
> THE DETAILS ABOUT EACH ELEMENT WHICH WAS ADDED IN THE LINKED LIST.
>
> could anyone help me to get this problem solved

NOT WITHOUT MORE DETAIL.

 From the message "length check failed" I'd guess you're assigning to an array 
object with a value of a different length.

-- 
Jeff Carter
"C's solution to this [variable-sized array parameters] has real
problems, and people who are complaining about safety definitely
have a point."
Dennis Ritchie
25



      reply	other threads:[~2010-12-20  3:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-20  2:34 Help With (raised CONSTRAINT_ERROR : main.adb:19 length check failed) Farhad
2010-12-20  3:10 ` Jeffrey Carter [this message]
replies disabled

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