Files
RCBASIC4/doc/doc_files/escape_char.html
2024-10-24 23:25:02 -04:00

126 lines
3.0 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<style>
table, th, td { border: 1px solid black; } th, td { padding: 10px; }
body { background-color: #064066; color: #FFFFFF; }
a { color: #40bfb8; }
a::before {
content: "---";
font-family: monospace, monospace;
display: inline-block;
margin-right: 6px;
color: #064066;
}
.rc_number { color: #800000; }
.rc_string { color: green; }
.rc_keyword { color: blue; font-weight: bold; }
.rc_comment { color: #0A0A0A; }
#rc_code { font-family: Consolas,"courier new"; background-color: #f1f1f1; padding: 2px; font-size: 105%; }
ul, #myUL {
list-style-type: none;
}
#myUL {
margin: 0;
padding: 0;
}
.box {
cursor: pointer;
-webkit-user-select: none; /* Safari 3.1+ */
-moz-user-select: none; /* Firefox 2+ */
-ms-user-select: none; /* IE 10+ */
user-select: none;
}
.box::before {
content: "[+]";
font-family: monospace, monospace;
font-weight: bold;
color: #40bfb8;
display: inline-block;
margin-right: 6px;
}
.box {
font-weight: bold;
color: #40bfb8;
text-decoration: underline;
}
.check-box::before {
content: "[-]";
font-family: monospace, monospace;
font-weight: bold;
//color: dodgerblue;
color: #40bfb8;
}
.nested {
display: none;
}
.active {
display: block;
}
</style>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>RC BASIC Escape Characters</title>
</head>
<body>
<table style="width: 100%" border="1">
<tbody>
<tr>
<td>ESCAPE CHARACTER</td>
<td>DESCRIPTION</td>
</tr>
<tr>
<td style="width: 190.467px; text-align: center;">\\</td>
<td style="width: 590.45px;">INSERTS A "\" INTO A STRING</td>
</tr>
<tr>
<td style="text-align: center;">\n</td>
<td>INSERTS A NEW-LINE INTO A STRING</td>
</tr>
<tr>
<td style="text-align: center;">\b</td>
<td>INSERTS A BACKSPACE INTO A STRING</td>
</tr>
<tr>
<td style="text-align: center;">\" &nbsp; | &nbsp; \q</td>
<td>INSERTS A QUOTATION MARK INTO A STRING</td>
</tr>
<tr>
<td style="text-align: center;">\t</td>
<td>INSERTS A TAB INTO A STRING</td>
</tr>
<tr>
<td style="text-align: center;">\0</td>
<td>INSERTS A NULL CHARACTER INTO A STRING</td>
</tr>
<tr>
<td style="text-align: center;">\a</td>
<td>INSERTS AN ALERT BELL INTO A STRING</td>
</tr>
<tr>
<td style="text-align: center;">\v</td>
<td>INSERTS A VERTICAL TAB INTO A STRING</td>
</tr>
<tr>
<td style="text-align: center;">\f</td>
<td>INSERTS A FORM FEED INTO A STRING</td>
</tr>
<tr>
<td style="text-align: center;">\r</td>
<td>INSERTS A CARRIAGE RETURN</td>
</tr>
</tbody>
</table>
</body>
</html>