Skip to content

System.Char

Dennis G. edited this page Aug 12, 2025 · 3 revisions

Declaration

type Char = string(1)
constructor Char(Code: PosInt) = \built-in\

Description

The Char type in the System package represents the a constraint for a single character. This is a string with the length 1.

Constructor

The constructor creates a single-character string as supported by Char using the unsigned positive integer value passed as Code. This can be any unicode character, including a non-printable one. Only one character can be created per call, use concatenation to create a string of multiple single characters.

Clone this wiki locally