comp.lang.ada
 help / color / mirror / Atom feed
From: john.mccabe@emrad.ns.com (John McCabe)
Subject: Re: A very strange problem indeed...
Date: Mon, 18 Mar 2002 16:39:40 GMT
Date: 2002-03-18T16:39:40+00:00	[thread overview]
Message-ID: <3c961783.27791091@news.demon.co.uk> (raw)
In-Reply-To: 3c95f466$0$6552@motown.iinet.net.au

On 18 Mar 2002 14:06:30 GMT, "Karl-Johan Karlsson" <kjk@tt.com> wrote:

>   Put("size you want: ");
>   Item_Type_IO.Get(Choice);
>   Put("amount you want: ");
>   Get(Item_Amount);

What type is "Item_Amount"? What do you have in your context clauses.
I would suggest, if the code itself isn't very long, get rid of all
the "use" clauses related to IO packages and specify them explicitly. 

>These four lines above are the ones which are making my name string accept
>only a certain amount of characters (e.g. 20), so if I type less characters
>it will not go to the next part of the program.
>
>   Put("Please tell us");
>   New_Line;
>   Put("your name: ");
>   Get_Line(Name, Name_Count);

It's probably worth stripping this right down to a bare minimum
including these lines and posting it on this group. It would make it
easier for everyone if they had the full details, inclufing type
definitions, context etc, and we would all be able to build and run
it.




  parent reply	other threads:[~2002-03-18 16:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-18 14:06 A very strange problem indeed Karl-Johan Karlsson
2002-03-18 15:22 ` Larry Hazel
2002-03-18 16:39 ` John McCabe [this message]
2002-03-18 18:03 ` Jacob Sparre Andersen
2002-03-19  3:10 ` Karl-Johan Karlsson
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox