aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-11-09 21:13:18 +0100
committerGravatar Christian Hesse <mail@eworm.de>2018-11-09 21:13:18 +0100
commitecf75697ba6c7122df5ec305fd8b2d3e9f1466e2 (patch)
treed42ed8572f852a25e19cbc6c0eb5da9217b15ae0
parentb6e2b8c3e42d117ef36071edb5886423d6700ca5 (diff)
global-functions: add function to read user input
-rw-r--r--global-functions5
1 files changed, 5 insertions, 0 deletions
diff --git a/global-functions b/global-functions
index 61637ff..5f6cf66 100644
--- a/global-functions
+++ b/global-functions
@@ -4,6 +4,11 @@
#
# global functions
+# read input from user
+:global Read do={
+ :return;
+}
+
# url encoding
:global UrlEncode do={
:local input [ :tostr $1 ];