CorLang

Logo

View the Project on GitHub C1200/CorLang

← Back

Table of Contents

Variables

Variables are assigned using the var keyword, followed by a variable name, an equals sign and a value. Variables can be accessed simply by typing the variable name.

Example:

var my_variable = "my value"
print("I have accessed" + my_variable)