diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-07-08 16:23:17 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-07-08 16:23:17 +0200 |
commit | a545cbab33e7ecc9ea36ad479fc32ec29a106e99 (patch) | |
tree | 3a51470ae6de84db2cde35ed6a2c78ee13ef4398 /test | |
parent | b858cc223a936a522bb5f88065f6686489841955 (diff) |
loop
Diffstat (limited to 'test')
-rw-r--r-- | test/test.test | 11 |
1 files changed, 11 insertions, 0 deletions
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($); |