modal/examples/io_read.modal

11 lines
271 B
Plaintext
Raw Normal View History

2024-04-15 19:26:25 -04:00
?(?-) (This example requests 3 line delimited strings from the console.)
2024-04-15 17:59:48 -04:00
2024-04-15 17:21:33 -04:00
<> (read ?~) (?~)
2024-04-09 13:55:23 -04:00
<> (?: print ') (?:)
<> (' ?x) (?x ')
2024-04-06 18:49:25 -04:00
2024-04-09 13:55:23 -04:00
(Tell me three things: \n) print '
2024-04-15 17:21:33 -04:00
' (You said: read stdin
2024-04-15 17:32:55 -04:00
\nthen, you continued: read stdin
\nfinaly, you concluded: read stdin \n) print