set / %variable%
Defines and reads variables.
Syntax
set name=value · %name%
Description
Variables are assigned with set (NO spaces around =). Its value is read with %name%. There is no distinction between text and numbers.
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?
Data storage.
Common mistakes
- ⚠️ set name = value is WRONG (no spaces allowed); set name=value is correct.
- ⚠️ The value is read with %name%, NOT $name.