Primitives

The following code examples demonstrate the built-in primitive types offered by the language and how they can be used. See section [TBD] for details.

Primitives

Logic
Text
Numeric
Core

Bool

Char

Byte

Guid

Tril

String

Ubyte

Id

Short

Type

UShort

Int

UInt

Long

Ulong

Float

Double

Decimal

Range

Details

formatted text: String ["a formatted message: \(some value to string)"];

As Variables

Assignment

some int is 1,

Declaration

some int: int [1];
some int: int [a + b];

Last updated