Strings
The c11 standard describes 4 ways string or characters can be written:
"Text here"
L"Text here"
u"Text here"
U"Text here"
Characters are written the same as strings, but use '
instead of "
.
TPP Support all 4 of these strings and accepts all character escape codes described by the standard. As an extension, TPP also allows for the \e
escape code for the esc (27)
character.
Hint: Characters are considered Integral constants and can be used in #if
constant expressions