From 8b255d8f23c121fbec478a714e580b32641853d7 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 22 Dec 2025 19:48:56 -0500 Subject: Update learnxiny code --- examples/learnxiny.tm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/learnxiny.tm b/examples/learnxiny.tm index 748f8957..6971f2a9 100644 --- a/examples/learnxiny.tm +++ b/examples/learnxiny.tm @@ -19,7 +19,7 @@ func main() my_num := 2.0 # Strings can use interpolation with the dollar sign $: - say("My variable is $my_variable and this is a sum: $(1 + 2)") + say("My variable is $my_variable, my num is $my_num, and this is a sum: $(1 + 2)") say(" Multiline strings begin with a " at the end of a line and continue in @@ -115,6 +115,7 @@ func main() # Empty tables require specifying the key and value types: empty_table : {Text:Int} + assert empty_table == {} # Tables can be iterated over either by key or key,value: for key in table -- cgit v1.2.3