From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c8faa961aaf3fddb X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!i40g2000cwc.googlegroups.com!not-for-mail From: "isaac2004" Newsgroups: comp.lang.ada Subject: Re: help with string splitting Date: 9 Mar 2006 10:31:43 -0800 Organization: http://groups.google.com Message-ID: <1141929103.884438.161300@i40g2000cwc.googlegroups.com> References: <1141863131.984654.144550@j52g2000cwj.googlegroups.com> <4jMPf.4128$6I.3573@newsread3.news.pas.earthlink.net> <1141883649.513514.212680@p10g2000cwp.googlegroups.com> <2315080.YNFrSGcu4b@linux1.krischik.com> NNTP-Posting-Host: 67.170.5.168 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1141929109 27085 127.0.0.1 (9 Mar 2006 18:31:49 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 9 Mar 2006 18:31:49 +0000 (UTC) In-Reply-To: <2315080.YNFrSGcu4b@linux1.krischik.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: i40g2000cwc.googlegroups.com; posting-host=67.170.5.168; posting-account=bWy1LAwAAAAtVkasDCH0ykMCBMNd-FcL Xref: g2news1.google.com comp.lang.ada:3310 Date: 2006-03-09T10:31:43-08:00 List-Id: >You could put in some debugging code: the thing is that i know what is wrong with the code but i cant figure out the algorithm >Code_Index is a variable declared as part of for loop. C99 can do that as well - finally ;-) so Code_index would be like this for Code_Index in Count loop bla bla ; end loop; Codetext'Length is just a variable for length and codetext'range is one for max index im kinda confused