Some statement for reading data?

Feb 21, 2014 at 10:34 AM
Is there some way for (interactively) giving data (e.g. an array) to the Main program using the keyboard?
I'm aware of the "print" statement, but cannot find a similar statement for reading data.
Feb 21, 2014 at 8:44 PM
No, there is currently no such statement or library. I would welcome some proposal for what such a feature should be.

Rustan
Feb 24, 2014 at 9:22 AM
I think that a "read statement" in the Haskell-style would be very useful. It reads an string from the standard input and converts it in a value/object of the type of its parameter. This would allow that executable programs could ask the user for input values in order to calculate output and show them with the print statement.