User manual

184
mikoPascal PRO for dsPIC30/33 and PIC24
MikroElektronika
Here are several string literals:
‘Hello world!’ // message, 12 chars long
‘Temperature is stable’ // message, 21 chars long
‘ ‘ // two spaces, 2 chars long
‘C’ // letter, 1 char long
‘’ // null string, 0 chars long
The apostrophe itself cannot be a part of the string literal, i.e. there is no escape sequence. You can use the built-in
function Chr to print an apostrophe: Chr(39). Also, see String Splicing.