From 871776e89336c6d824b257bd8dbbc1f46122b5c8 Mon Sep 17 00:00:00 2001 From: DiamondNether90 Date: Thu, 25 Sep 2025 11:29:01 +1000 Subject: [PATCH] Add Depreciated Features --- Depreciated-Features.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Depreciated-Features.md diff --git a/Depreciated-Features.md b/Depreciated-Features.md new file mode 100644 index 0000000..3df9d76 --- /dev/null +++ b/Depreciated-Features.md @@ -0,0 +1,11 @@ +This page provides a list of depreciated features + +## `*` List Syntax (25/9/25) +Prior to this update, you would use `*list` to reference a list (direct or value). This worked initially, but began to cause problems with functions (is it `-list &ref` or `-list *ref`) and custom structures. Due to this, and that it would be a pain to maintain, this syntax is no longer supported. + +The current day alternative is to use direct references, i.e. `getlistat &listname $idx &store` instead of `getlistat *listname $idx &store`. You can still use the old syntax (for now), but it is highly discouraged as you will run into a plethora of issues when trying to work with lists in functions and structs. + +## `stdout` and `stdlnout` +Prior to this update, you would use `stdout` (inline print) and `stdlnout` (newline print) for console output. This was changed to be more consistent with other languages like Python. + +The current day alternative is to use `print` and `println`, respectively. \ No newline at end of file