Zum Inhalt

char (Opus Funktion)

Beschreibung

Wandelt eine Zahl in einen “Buchstaben” um. Converts a numeric code point to a character. For a string, a "0x"-prefixed hexadecimal value (e.g. "0x12ab") is taken as a Unicode code point; any other string yields its first character. Arrays and matrices of any convertible element type are converted element-wise.

Argumente

Name

Typ

Beschreibung

Value

integer

float

char

string

Wert, der in einen char gewandelt werden soll

Rückgabewert char

Umgewandelter Wert in char

Beispiel

Result = char(65);

Resultat: A

Siehe auch