summaryrefslogtreecommitdiff
path: root/input.stk
diff options
context:
space:
mode:
Diffstat (limited to 'input.stk')
-rw-r--r--input.stk3
1 files changed, 1 insertions, 2 deletions
diff --git a/input.stk b/input.stk
index 8b4f68f..c392c0e 100644
--- a/input.stk
+++ b/input.stk
@@ -1,3 +1,2 @@
-Loops ten times asking for user input. If the input is 0 or nothing, print 69420, else print back the number from the input.
-10 [ 0 1 , [ ~ . ! -- ] [ 69420 . ! ] -- ]
+10 [ 0 1 read_number [ dup print_number newline pop -- ] [ 69420 print_number newline pop ] -- ]