comp.lang.ada
 help / color / mirror / Atom feed
From: adambeneschan@gmail.com
Subject: Re: confusing string error
Date: Fri, 14 Feb 2014 17:57:13 -0800 (PST)
Date: 2014-02-14T17:57:13-08:00	[thread overview]
Message-ID: <4e92f920-cadf-425b-9882-f83a98c79464@googlegroups.com> (raw)
In-Reply-To: <3kdtf9l42gimm37vgia3eibsmr638r27ig@4ax.com>

On Friday, February 14, 2014 4:46:51 PM UTC-8, ag...@drrob1.com wrote:

I don't know what input you're entering.  I get the error on this line:

  CH2 := Element(Token.uStr,2);

which would make sense if the string's length is only 1.  I'm not sure why you think the error is on this line:

  Token.uStr := Token.uStr & ch;

which shouldn't be raising an Index_Error.

                          -- Adam

  parent reply	other threads:[~2014-02-15  1:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-14 12:38 confusing string error agent
2014-02-14 13:03 ` Jacob Sparre Andersen
2014-02-15  0:46   ` agent
2014-02-15  1:50     ` adambeneschan
2014-02-15  8:41       ` Simon Wright
2014-02-15  1:57     ` adambeneschan [this message]
2014-02-15  9:33     ` Simon Wright
2014-02-15 12:53       ` agent
2014-02-15 16:58         ` adambeneschan
2014-02-15 18:29           ` Simon Wright
2014-02-17 12:57             ` agent
2014-02-15 13:15       ` agent
2014-02-15 17:56         ` Jeffrey 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