aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-08-01 20:03:34 +0200
committerEugen Wissner <belka@caraus.de>2026-08-01 20:03:34 +0200
commite9cd3e5d0157f145dc0c3fea59f434fdd5ae55c6 (patch)
tree90ba6af2fe70ab961cdf48b46caa669757cd11b7 /source
parent71b3bbb7698b13b42c99a4ca66c27db4a6189ff8 (diff)
downloadelna-e9cd3e5d0157f145dc0c3fea59f434fdd5ae55c6.tar.gz
Evaluate strings at compile time
Diffstat (limited to 'source')
-rw-r--r--source/main.elna2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/main.elna b/source/main.elna
index c127ba4..369d013 100644
--- a/source/main.elna
+++ b/source/main.elna
@@ -34,6 +34,8 @@ var
stderr: ^FILE
stdin: ^FILE
+ t: Word := [3]Int{ 1, 2, 3 }.length
+
(*
Standard procedures.
*)