This document discusses primitive data types in programming including numerical types like integers and floats which have defined value ranges, Booleans to represent true/false values, and characters which are single characters represented by strings. It provides examples of declaring and assigning values to variables of each type, showing integers can be 8, 16, 32 or 64 bits, floats allow decimal values, and characters are single characters between quotes rather than numbers.
2. Numerical types: Ints, Floats, Doubles
Let int1 : Int = 0
Let int2 : Int8 = 127
Let int3 : Int
Let int4 = 54
Let int3: Uint = -2 cannot assign negative value to Uint
Let float1 : Float = 54.5
Let double1 : Double = 54.6
Let double2 : Double = 5
3. Boolean : true/false
Let bool1 : Bool = false
Let bool2 : Bool = 5 > 3
*testing condition
4. Character
One digit in length, between
Let char1 : Character = ?
Let char2 : Character = 息
Let char3 : Character = 5 just a character, not number
Let char4 : Character = not allowed