From 2dc84d1d5bb9ea2601f96edef5e9cf9b1f73d76e Mon Sep 17 00:00:00 2001 From: trans_soup <> Date: Wed, 1 Nov 2023 14:22:12 +0100 Subject: [PATCH] add `read_word` function. --- functions.io | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/functions.io b/functions.io index 5915409..332f093 100644 --- a/functions.io +++ b/functions.io @@ -40,3 +40,7 @@ add_fn("write", block( add_fn("size", block( push(stack size) )) + +add_fn("read_word", block( + push(action_queue removeAt(0)) +))