H (Hybrid) Language - v0.03, by Dr. Herong Yang
Escape Sequences for Unicode Characters
This section describes escape sequences for Unicode characters in 'string' literals.
Escape sequences are also need to allow us entering Unicode characters using their code values.
Since Unicode values are divided into two groups, two escape sequence formats are supported:
Both upper case and lower case of hexadecimal digits are supported.
Examples of "string" literals with escape sequences for Unicode characters:
write("\ud7a3 is a Korean Hangul character."); write("\u000a is the same as \n."); write("\v00020c96 is a Unicode supplementary character."); write("\v0000000a is the same as \n."); write("\v0000000A is the same as \n.");
Table of Contents
Escape Sequences in "string" Literals
Escape Sequences for Non-Printable ASCII Characters
►Escape Sequences for Unicode Characters
String Literals with Line Breaks
String Literals Continuing on Next Lines
Expression Interpolation in String Literals
String Literals with No Escape Sequences
Constructor Function: string()
string.get() - Retrieve Character from String
x[i] - Array Element Format for string.get()
string.set() - Update Character to String
x[i] - Array Element Format for string.set()
"string" "subtraction" Operation
"string" "multiplication" Operation
Inheritance - Object Attachments