modal/examples/io_read.modal

11 lines
271 B
Plaintext

?(?-) (This example requests 3 line delimited strings from the console.)
<> (read ?~) (?~)
<> (?: print ') (?:)
<> (' ?x) (?x ')
(Tell me three things: \n) print '
' (You said: read stdin
\nthen, you continued: read stdin
\nfinaly, you concluded: read stdin \n) print