summaryrefslogtreecommitdiff
path: root/input.stk
diff options
context:
space:
mode:
authorJuan Manuel Tomás <jtomas1815@gmail.com>2022-08-04 20:42:12 -0300
committerJuan Manuel Tomás <jtomas1815@gmail.com>2022-08-04 20:42:12 -0300
commitbdf71faad059ba7deb44a983598ad63de43a5e67 (patch)
tree43bc8777e406f5e74a263eacd08de38c825e565a /input.stk
parentadbc4248120e245fb68f8658bb765fe04c6ecdab (diff)
downloadstk-bdf71faad059ba7deb44a983598ad63de43a5e67.tar.gz
stk-bdf71faad059ba7deb44a983598ad63de43a5e67.zip
Decided on less cryptic keywords
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 ] -- ]