[Issue 4716] std.stdio.input() or similar

2016-10-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4716 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4716] std.stdio.input() or similar

2014-03-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=4716 Infiltrator lt.infiltra...@gmail.com changed: What|Removed |Added CC|

[Issue 4716] std.stdio.input() or similar

2011-02-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4716 --- Comment #2 from bearophile_h...@eml.cc 2011-02-08 13:13:01 PST --- Adam Ruppe has suggested: I'd say make it do a combination of writef though, so you can do more complex prompts. auto number = ask!int(Enter a number, %s, name); --

[Issue 4716] std.stdio.input() or similar

2010-08-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4716 --- Comment #1 from bearophile_h...@eml.cc 2010-08-23 05:14:22 PDT --- Improved code. Both IsType() and IsString() may be useful to add to std.traits, if something similar is not already present. import std.string: chomp; import std.stdio: