User input/Text: Difference between revisions
Content added Content deleted
(Added a solution for MATLAB) |
(Added PicoLisp) |
||
Line 494: | Line 494: | ||
$string = fgets(STDIN); |
$string = fgets(STDIN); |
||
$integer = (int) fgets(STDIN);</lang> |
$integer = (int) fgets(STDIN);</lang> |
||
=={{header|PicoLisp}}== |
|||
<lang PicoLisp>(in NIL # Guarantee reading from standard input |
|||
(let (Str (read) Num (read)) |
|||
(prinl "The string is: \"" Str "\"") |
|||
(prinl "The number is: " Num) ) )</lang> |
|||
=={{header|Pike}}== |
=={{header|Pike}}== |