comp.lang.ada
 help / color / mirror / Atom feed
From: "isaac2004" <isaac_2004@yahoo.com>
Subject: Re: creating an array
Date: 15 Feb 2006 08:23:36 -0800
Date: 2006-02-15T08:23:36-08:00	[thread overview]
Message-ID: <1140020616.877141.164270@g47g2000cwa.googlegroups.com> (raw)
In-Reply-To: <14iyyw73rt5i8$.1fkeh9i1mlj3e$.dlg@40tude.net>

>Quick and dirty just to get it running:

Correct the spelling error:
end if;  -> end loop;


you have to instantiate the Ada.Text_IO.Integer_IO:
package Anders is new Ada.Text_IO.Integer_IO (Integer);


and then use your new package:
Anders.Get (Expected_Number_Of_Digits);


If the operator "not" is not defined, change the
if statement to:
if ... then
   null;
else
   ...;
end if;


this whole program throws flags up everywhere in Adagide, undefined
varibles and misuse of packages. i dont know where to start on how to
fix it. thanks though




      reply	other threads:[~2006-02-15 16:23 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-14  6:06 creating an array isaac2004
2006-02-14 13:59 ` jimmaureenrogers
2006-02-14 15:20   ` isaac2004
2006-02-14 18:44     ` jimmaureenrogers
2006-02-14 19:25 ` Björn Persson
2006-02-14 19:39   ` Dmitry A. Kazakov
2006-02-14 21:14     ` isaac2004
2006-02-14 22:17       ` jimmaureenrogers
2006-02-14 22:30         ` isaac2004
2006-02-14 22:45         ` Ludovic Brenta
2006-02-14 22:54           ` isaac2004
2006-02-14 23:10             ` Ludovic Brenta
2006-02-14 23:37               ` isaac2004
2006-02-15  7:45                 ` Anders Wirzenius
2006-02-15 20:44                   ` Björn Persson
2006-02-16  6:59                     ` Anders Wirzenius
2006-02-15 21:53                 ` Ludovic Brenta
2006-02-15 23:29                   ` isaac2004
2006-02-16  3:09                     ` jimmaureenrogers
2006-02-15  7:42     ` Maciej Sobczak
2006-02-15 10:37       ` Jean-Pierre Rosen
2006-02-15 13:30       ` Dmitry A. Kazakov
2006-02-15 16:23         ` isaac2004 [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