-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Brad Slayter edited this page Jun 30, 2015
·
5 revisions
Welcome to the DeafShark wiki!
Here I will attempt to keep the language documented.
Variables can either be constant or not. Once a constant variable is defined, its value cannot be changed. Variables are declared using the var
and let
keywords, with the let
keyword being used to define constant variables.
Example
var myInt = 42
var myString = "Hello, World"
Types When declaring a variable, the compiler will automatically try to determine the type if a value is supplied.