comp.lang.ada
 help / color / mirror / Atom feed
From: John Smith <yoursurrogategod@gmail.com>
Subject: Why does this input get "skipped"?
Date: Sat, 20 Aug 2016 15:41:56 -0700 (PDT)
Date: 2016-08-20T15:41:56-07:00	[thread overview]
Message-ID: <07632b3f-f419-4865-a8f8-01b568a6883e@googlegroups.com> (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?


             reply	other threads:[~2016-08-20 22:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-20 22:41 John Smith [this message]
2016-08-20 23:16 ` Why does this input get "skipped"? 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
replies disabled

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