Skip to main content
Version: v0.20.1

Local Variables

Variables represent the object as a memorable name.

a = "test"

Examples​

some_integer = 1;
name = "RocketLang";
array = [1, 2, 3, 4, 5];
some_boolean = true;

Also expressions can be used

another_int = (10 / 2) * 5 + 30;
an_array = [1 + 1, 2 * 2, 3];