Skip to content

SymbolObjects

Andy Kruth edited this page May 1, 2016 · 2 revisions

SymbolNull

SymbolNull is a simple null value. They can be used with the keyword null and have a string representation of null.

println null
> null

SymbolBoolean

SymbolBoolean represent the boolean values true and false. All conditional expressions will reduce down to a SymbolBoolean. They can be used with the keywords true and false.

println true
> true
println false
> false

SymbolBooleans also have traditional boolean modifiers not, or, and and.

println not true
> false
println true and false
> false
println true or false
> true

SymbolNumber

SymbolNumbers are general purpose number objects that can handle integers and decimals of any length. They can be represented by typing out each digit, or by using the vocalized spelling of the number, without any modifiers such as commas or the word and.

println one two three four five six
> 123456
println one hundred twenty three thousand four hundred fifty six
> 123456
Clone this wiki locally