-
Notifications
You must be signed in to change notification settings - Fork 2
System.Char
Dennis G. edited this page Aug 12, 2025
·
3 revisions
type Char = string(1)
constructor Char(Code: PosInt) = \built-in\
The Char type in the System package represents the a constraint for a single character. This is a string with the length 1.
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.
Texts, images and code samples on this page are available under MPL 2.0 license