comp.lang.ada
 help / color / mirror / Atom feed
From: john.mccabe@emrad.ns.com (John McCabe)
Subject: Re: Newbie question: input problem
Date: Wed, 10 Apr 2002 08:22:34 GMT
Date: 2002-04-10T08:22:34+00:00	[thread overview]
Message-ID: <3cb3f61a.1433891@news.demon.co.uk> (raw)
In-Reply-To: 826d4d0f.0204091813.6039c1b0@posting.google.com

On 9 Apr 2002 19:13:13 -0700, sidney_bhaiji@hotmail.com (Sidney
Bhaiji) wrote:

>Option: Integer;
>strName, strAddress: String(1..50);
>length_In, length_In2: Integer;
>
>Put_Line("Please enter an integer according to what you want to do");
>Get(Option, 1);New_Line;
>
>if (Option = 3) then
>   Put_Line("Please enter your name");
>   Get(strName, length_In); New_Line;
>   Put_Line("Please enter your address");
>   Get(strAddress, length_In2);

Instead of "New_Line" use "Skip_Line". New_Line is an output method.




  reply	other threads:[~2002-04-10  8:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-10  2:13 Newbie question: input problem Sidney Bhaiji
2002-04-10  8:22 ` John McCabe [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-04-10  5:37 Christoph Grein
replies disabled

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