|
|
|
|
|
|
2
|
(assign twelve 12) # This assigns the variable twelve, to the number literal 12
|
2
|
(assign twelve 12) # This assigns the variable twelve, to the number literal 12
|
|
3
|
(assign myvar (add twelve (subtract 6 2))) # This assigns the variable myvar, to the result of adding the variable twelve to the result of subtracting 2 from 6
|
3
|
(assign myvar (add twelve (subtract 6 2))) # This assigns the variable myvar, to the result of adding the variable twelve to the result of subtracting 2 from 6
|
|
4
|
(log myvar) # This logs the value of myvar
|
4
|
(log myvar) # This logs the value of myvar
|
|
5
|
-(log 6) # This logs the string literal 6
|
|
|
|
|
|
5
|
+(log 6) # This logs the number literal 6
|
|
6
|
(assign twelve myvar) # This reassigns the variable twelve to the value of the variable myvar
|
6
|
(assign twelve myvar) # This reassigns the variable twelve to the value of the variable myvar
|
|
7
|
(log twelve) # This logs the new value of the variable twelve
|
7
|
(log twelve) # This logs the new value of the variable twelve
|