From a545cbab33e7ecc9ea36ad479fc32ec29a106e99 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 8 Jul 2024 16:23:17 +0200 Subject: loop --- test/test.test | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'test') diff --git a/test/test.test b/test/test.test index af1bf76..24059ca 100644 --- a/test/test.test +++ b/test/test.test @@ -23,3 +23,14 @@ const map: [string][string or integer] = [ "third": "3", "fourth": 4, ]; + +for (array) |index, value| { + ply = value; +} + +for (map) |key, value| { + ply = key; +} + +std.str.format('cool %s', string) + |> print($); -- cgit v1.2.3