Added console read example

This commit is contained in:
Devine Lu Linvega 2024-04-09 10:55:23 -07:00
parent 452b5026be
commit 9a61ef90f3
2 changed files with 10 additions and 6 deletions

View File

@ -1,5 +1,9 @@
<> ((read)) (?:)
<> ((send ?:)) ()
<> (?x ?y catswap) ((?y ?x))
<> (read) (?~)
<> (?: print ') (?:)
<> (' ?x) (?x ')
(send (You said: )) (read) send catswap
(Tell me three things: \n) print '
' (You said: read
then, you continued: read
finaly, you concluded: read) print

View File

@ -11,6 +11,6 @@
<> (?x dup) (?x ?x)
<> (?x ?y swap) (?y ?x)
<> (?x pop) ()
<> (print ?:) ()
<> (print ?:) (?:)
(implode reverse (explode hello)) (explode hello) empty-register (eq abc abc) (eq abc def) (1 2 3) (4 5 6) swap pop dup (hey 1234 pop) (print Done.)
(implode reverse (explode hello)) (explode hello) empty-register (eq abc abc) (eq abc def) (1 2 3) (4 5 6) swap pop dup (hey 1234 pop) (print Done.)