Built-in types



Bool
Boolean type. Bool has two possible values: 0B and 1B {}. [Like in Boolean algebra, in which 0 and 1 are used.]

Int
Integral type (32 or 64 bits).

Int8/Byte
Int16
Int32
Int64
or
Int1/Byte
Int2
Int4
Int8

Float
Floating-point type (32 or 64 bits).

Float32
Float64
or
Float4
Float8

Char
Character. For example this code creates a character with code 65:
Char(code' 65)
Members
Methods

String
String type. Can be constructed from a string literal.
Members
Methods

Tuple
A tuple. For example, a tuple with two items:
(1, 2)
.

Array
An array. For example, an array with two items:
[1, 2]
.
Members
Methods

Dict
A dictionary. For example, a dictionary with two items:
[‘key1’ = 1, ‘key2’ = 2]
.
Methods

DefaultDict
A dictionary, which does not throw an exception when accessing a non-existent key (it inserts a new item with a default value in this case).

File
A file object.
Methods