Add Depreciated Features

2025-09-25 11:29:01 +10:00
parent 23c4ab3d65
commit 871776e893

11
Depreciated-Features.md Normal file

@@ -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.