From 94a61b1e3895e0384ab88dd845d02597dfb3609d Mon Sep 17 00:00:00 2001 From: DrMaxNix Date: Sun, 17 Apr 2022 12:40:10 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20user=20input=20command=20`ask?= =?UTF-8?q?`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ideas-1.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ideas-1.sh b/ideas-1.sh index b192480..2c0e1cd 100644 --- a/ideas-1.sh +++ b/ideas-1.sh @@ -108,10 +108,16 @@ jmp|jump|goto "flag1" -## OUTPUT ## +## TEXT IO ## # print "blabliblub" drw|draw|echo "bla" "bli" "blub" +# print "blabliblub", await user response (until newline/enter) and return entered line as $1 +ask $1 "bla" "bli" "blub" + + + +## GRAPHICAL OUTPUT ## # initialize matrix with 16x16 pxl|pixel|canv|canvas size 16 16 | pxl|pixel|canv|canvas size 16