Character Constant UCHAR

Overview

The character literal for a single Unicode character has the base type UDINT. The type prefix UCHAR# is prefixed to the literal as an identifier. The numerical value of the character literal corresponds to the code point of the Unicode standard.

Syntax

UCHAR#' <single character> '

Literal

udiChar : UDINT := UCHAR#'ฒ'; // cp 3603