User input/Text: Difference between revisions
Content added Content deleted
m (→{{header|PL/I}}: whitespace) |
No edit summary |
||
Line 455:
(print "Enter a string: ")
(set 'y (read-line))</lang>
=={{header|Objeck}}==
<lang objeck>
use IO;
bundle Default {
class Hello {
function : Main(args : String[]) ~ Nil {
string := Console->GetInstance()->ReadString();
string->PrintLine();
number := Console->GetInstance()->ReadString()->ToInt();
number->PrintLine();
}
}
}
</lang>
=={{header|OCaml}}==
|