comp.lang.ada
 help / color / mirror / Atom feed
From: onox <denkpadje@gmail.com>
Subject: Re: My first solution
Date: Wed, 15 Jun 2011 11:39:10 -0700 (PDT)
Date: 2011-06-15T11:39:10-07:00	[thread overview]
Message-ID: <55e3577f-c26b-40cc-991b-9693ea8ae391@q30g2000yqb.googlegroups.com> (raw)
In-Reply-To: 3420583b-a063-4634-9989-580888e38eee@f2g2000yqh.googlegroups.com

On Jun 15, 8:01 am, juanmiuk <juanm...@googlemail.com> wrote:
>      for I in My_Num range 1 .. 10 loop

Assuming you want to iterate over the whole range of My_Num, you can
write instead:

for I in My_Num loop

Following also seems to work:

for I in My_Num'Range loop



  parent reply	other threads:[~2011-06-15 18:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-15  6:01 My first solution juanmiuk
2011-06-15  6:09 ` juanmiuk
2011-06-15  6:39 ` Ludovic Brenta
2011-06-15 18:39 ` onox [this message]
2011-06-15 19:43 ` 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