comp.lang.ada
 help / color / mirror / Atom feed
* Why does this input get "skipped"?
@ 2016-08-20 22:41 John Smith
  2016-08-20 23:16 ` Jeffrey R. Carter
  2016-08-21  0:00 ` rieachus
  0 siblings, 2 replies; 12+ messages in thread
From: John Smith @ 2016-08-20 22:41 UTC (permalink / raw)


This is the snippet in question:
Ada.Text_IO.Put("Delete a value - > ");
String_Input := Ada.Text_IO.Unbounded_IO.Get_Line;
Ada.Text_IO.New_Line;

The purpose is to have the user enter some string and then keep going.  When I ran the above code, I found that I saw "Delete a value - > " being printed, but the program didn't even give me a chance to enter some form of text...

Why did my code keep running?


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-08-24 10:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-20 22:41 Why does this input get "skipped"? John Smith
2016-08-20 23:16 ` Jeffrey R. Carter
2016-08-21  0:01   ` John Smith
2016-08-21  0:36     ` John Smith
2016-08-22  5:00       ` J-P. Rosen
2016-08-22 22:18       ` rieachus
2016-08-23  6:22         ` J-P. Rosen
2016-08-24 10:34           ` rieachus
2016-08-21  0:50     ` Jeffrey R. Carter
2016-08-21  1:04       ` John Smith
2016-08-21  4:07         ` Jeffrey R. Carter
2016-08-21  0:00 ` rieachus

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