Files
BrainAssembly/docs/syntax.md
2025-10-18 19:55:02 +11:00

458 B

To create a comment, begin a line with a hash (#) symbol, like python.

So far, the supported types are bool and string.

create name type 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 bool 1 true

print var

Prints the value of var to the console, where var is a variable.

Example: print var