From 90150f85a8fd597ff91b7019d01d71ceeb666812 Mon Sep 17 00:00:00 2001 From: DrMaxNix Date: Tue, 10 May 2022 21:38:38 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20add=20feature=20for=20using=20value?= =?UTF-8?q?=20of=20a=20var=20as=20var-name?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ideas-1.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ideas-1.sh b/ideas-1.sh index 310f909..2173d50 100644 --- a/ideas-1.sh +++ b/ideas-1.sh @@ -49,6 +49,8 @@ typ|type $1 cst|cast $1 $2 cst|cast $1 int +# use contents of a var as var-name (todo: is there a more assembly-like way for this?) +${$name}