You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OutCraft edited this page Jun 22, 2023
·
2 revisions
Variables
Variable Declaration
To declare a variable, use the var keyword followed by a name.
varmyVariable;
RoboScript is a dynamically typed language, with all variables being able to be all types. All variables are null, meaning undefined, by default. To initialize the variable with a value other than null, you can follow the name of the variable with = and the value.