From fa4458e2d7dd7d62d6faeb1f58fc4183e517b9cb Mon Sep 17 00:00:00 2001 From: John Lorentzson Date: Fri, 4 Jul 2025 11:21:29 +0200 Subject: [PATCH] Add example-3.c6l --- wip-duuqnd/user-side-compiler/example-3.c6l | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 wip-duuqnd/user-side-compiler/example-3.c6l diff --git a/wip-duuqnd/user-side-compiler/example-3.c6l b/wip-duuqnd/user-side-compiler/example-3.c6l new file mode 100644 index 0000000..e78a71d --- /dev/null +++ b/wip-duuqnd/user-side-compiler/example-3.c6l @@ -0,0 +1,14 @@ +for x do 16 times + if x == 5 then + drawline(0, 0, 10, 10) + if 1 == y then + set_background(4) + else + set_background(0) + end + y = 1 + else + set_background(0) + drawline(100, 100, 120, 120) + end +end \ No newline at end of file