From 56852cc5b0a8922ac4ae563efc50f47130ed34f2 Mon Sep 17 00:00:00 2001 From: RayPals Date: Mon, 1 Jun 2026 00:54:39 +0200 Subject: [PATCH] Add examples/tasks_and_graphics.claro from Claro v1.17.26 zip --- examples/tasks_and_graphics.claro | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 examples/tasks_and_graphics.claro diff --git a/examples/tasks_and_graphics.claro b/examples/tasks_and_graphics.claro new file mode 100644 index 0000000..8bbd6a4 --- /dev/null +++ b/examples/tasks_and_graphics.claro @@ -0,0 +1,15 @@ +SAY "Task and graphics starter demo" + +START TASK helloTask + SAY "This task ran." +END + +WAIT TASK helloTask + +OPEN WINDOW "Claro Game" WIDTH 640 HEIGHT 360 +CLEAR SCREEN +DRAW TEXT "Hello from Claro graphics" AT 20 20 +UPDATE SCREEN +CLOSE WINDOW + +SAY "Graphics commands are accepted in v1.10.26."