From: "CheGueVerra" <chegueverra@hotmail.com>
Subject: Re: Interger_io get and Text_io.Get_line
Date: Thu, 16 Oct 2003 16:22:58 -0400
Date: 2003-10-16T16:22:58-04:00 [thread overview]
Message-ID: <w6Djb.4918$Z_2.407289@news20.bellglobal.com> (raw)
In-Reply-To: bZCjb.4890$Z_2.406431@news20.bellglobal.com
Okay, after playing with it some more, I found that if I do this
Put_line("Enter a number");
Entiers.get(Number, 2);
Skip_line;
Put_line("Enter a string");
Get_Line(TstStr, Last);
Put_line(TstStr(TstStr'First..Last));
then the program runs as I expect it to do, the thing is I don't understand
why I need a Skip_line for it to work, So if anyone can shed some light on
that I would appriciate it
TIA
CheGueVerra
next prev parent reply other threads:[~2003-10-16 20:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-16 20:12 Interger_io get and Text_io.Get_line CheGueVerra
2003-10-16 20:22 ` CheGueVerra [this message]
2003-10-16 23:31 ` Robert I. Eachus
2003-10-17 1:01 ` Jeffrey Carter
2003-10-17 1:15 ` CheGueVerra
2003-10-17 5:08 ` Anders Wirzenius
2003-10-17 5:59 ` Anders Wirzenius
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox