Fixed a note in "ca65.sgml".
String escapes are converted to a target platform's encoding.
This commit is contained in:
parent
055c294ac0
commit
c37582bb00
1 changed files with 11 additions and 12 deletions
|
@ -2835,19 +2835,18 @@ Here's a list of all control commands and a description, what they do:
|
||||||
|
|
||||||
Allow C-style backslash escapes within string constants to embed
|
Allow C-style backslash escapes within string constants to embed
|
||||||
special characters. The following escapes are accepted:
|
special characters. The following escapes are accepted:
|
||||||
|
<itemize>
|
||||||
|
<item><tt>\\</tt> backslash (<tt>$5C</tt>)
|
||||||
|
<item><tt>\'</tt> single quote (<tt>$27</tt>)
|
||||||
|
<item><tt>\"</tt> double quote (<tt>$22</tt>)
|
||||||
|
<item><tt>\t</tt> tab (<tt>$09</tt>)
|
||||||
|
<item><tt>\r</tt> carriage return (<tt>$0D</tt>)
|
||||||
|
<item><tt>\n</tt> newline (<tt>$0A</tt>)
|
||||||
|
<item><tt>\xNN</tt> (<tt>$NN</tt>)
|
||||||
|
</itemize>
|
||||||
|
|
||||||
<itemize>
|
Note that string escapes are converted to platform-specific characters in
|
||||||
<item><tt>\\</tt> backslash (<tt>$5C</tt>)
|
the same way that other characters are converted.
|
||||||
<item><tt>\'</tt> single quote (<tt>$27</tt>)
|
|
||||||
<item><tt>\"</tt> double quote (<tt>$22</tt>)
|
|
||||||
<item><tt>\t</tt> tab (<tt>$09</tt>)
|
|
||||||
<item><tt>\r</tt> carriage return (<tt>$0D</tt>)
|
|
||||||
<item><tt>\n</tt> newline (<tt>$0A</tt>)
|
|
||||||
<item><tt>\xNN</tt> (<tt>$NN</tt>)
|
|
||||||
</itemize>
|
|
||||||
|
|
||||||
Note that <tt>\n</tt> maps to ASCII <tt>$0A</tt>, not a platform specific
|
|
||||||
line ending character.
|
|
||||||
|
|
||||||
<tag><tt>ubiquitous_idents</tt><label id="ubiquitous_idents"></tag>
|
<tag><tt>ubiquitous_idents</tt><label id="ubiquitous_idents"></tag>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue