Last active 4 days ago

Takes a line, prints a line.

june's Avatar june revised this gist 4 days ago. Go to revision

1 file changed, 17 insertions

echo.nv(file created)

@@ -0,0 +1,17 @@
1 + |:: read a line? :@stdio: (10 $x)|
2 + :@stdio: 10
3 + :buffer: $x
4 + |:: read a line :@stdio: 10|
5 + |:: read a line?|
6 + :@stdio: read
7 +
8 + |:: print the buffer? :buffer: $x|
9 + :@stdio: write $x
10 + |:: print the buffer|
11 + :@stdio: write 10
12 +
13 + |:: echo|
14 + :: read a line
15 + :: print the buffer
16 +
17 + ||:: echo
Newer Older