From bfbae5e243e2ccb093e3a182427248ce756117a8 Mon Sep 17 00:00:00 2001 From: Viktor Palmkvist Date: Tue, 10 Mar 2026 17:05:21 +0100 Subject: [PATCH] Update to `debug` semantics. --- docs/changelog.md | 4 ++++ docs/language-overview.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/changelog.md b/docs/changelog.md index 693ca46..36016d8 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -19,10 +19,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- The `debug` statement now accepts multiple arguments + ### Deprecated ### Removed ### Fixed +- Using `debug` to print strings no longer crashes + ### Security diff --git a/docs/language-overview.md b/docs/language-overview.md index ade9f58..f9cb3d9 100644 --- a/docs/language-overview.md +++ b/docs/language-overview.md @@ -27,7 +27,7 @@ when more text is needed */
- +
FeatureExample
Print something (real/integer/string) to debugdebug(something)
Print something (real/integer/string) to debugdebug("Example: ", 32)
Printing and adding a new lineprintLn(text);
Printing without adding a new lineprint(text);
Print only an empty lineprint("\n");