LOCAL / :=
Declares and assigns a variable.
Syntax
LOCAL name name := value
Description
Local variables are declared with LOCAL, assigned with :=. Types are not specified. String concatenation uses +.
Example
Loading editor…
This language is for reference/learning only — copy the code and try it in your own environment.
Expected output
Hello HexLibrary
When to use?
Storing all kinds of data.
Common mistakes
- ⚠️ Assignment uses :=; = is only for comparison (or ==).