From: "Egil Høvik" <egilhovik@hotmail.com>
Subject: Re: index check failure - constraint error
Date: Fri, 1 Apr 2011 04:12:40 -0700 (PDT)
Date: 2011-04-01T04:12:40-07:00 [thread overview]
Message-ID: <64114572-3a55-4a5f-b1f8-70ee0a67fd2f@glegroupsg2000goo.googlegroups.com> (raw)
In-Reply-To: <a60d3c79-14ca-4cf1-87d4-a51c061effff@s33g2000vbb.googlegroups.com>
In your loop you assume The_String'First=1,
that may not always be the case, especially if
you call this function on array slices.
Try "for count in The_String'Range loop" instead
--
~egilhh
next prev parent reply other threads:[~2011-04-01 11:12 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-01 10:53 index check failure - constraint error tonyg
2011-04-01 11:07 ` tonyg
2011-04-01 11:27 ` Alex Mentis
2011-04-01 11:33 ` Alex Mentis
2011-04-01 11:36 ` Alex Mentis
2011-04-01 12:18 ` Georg Bauhaus
2011-04-01 22:20 ` tonyg
2011-04-01 23:37 ` Ludovic Brenta
2011-04-01 11:12 ` Egil Høvik [this message]
2011-04-01 11:17 ` tonyg
2011-04-01 12:13 ` Ludovic Brenta
2011-04-01 15:02 ` Adam Beneschan
2011-04-01 17:39 ` Jeffrey Carter
2011-04-01 22:16 ` tonyg
2011-04-01 22:31 ` Jeffrey Carter
2011-04-01 22:49 ` Robert A Duff
2011-04-01 23:00 ` Adam Beneschan
2011-04-01 23:29 ` Robert A Duff
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox