Reassign variables with set, bugfixes for strings shorter than allocated size

This commit is contained in:
2025-10-06 18:33:53 +11:00
parent ae37d8deab
commit e180adea8c
5 changed files with 58 additions and 11 deletions

View File

@@ -1,9 +1,18 @@
## create var *bytes = Value
Creates the variable "var" with a set number of bytes allocated to it, and initialises its value.
**IMPORTANT:** The number of bytes cannot be modified later.
Example: `create var *5 = "Hello"`
## print var
Prints the value of `var` to the console, where `var` is a variable.
Prints the value of `var` to the console, where `var` is a variable.
Example: `print var`
## set var = Value
Changes the value of an already created value.
Example `set var = "World"`