Debian Codegraph @

info/gcl/code_002dchar.html

raw
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html>
3 <!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 <title>code-char (ANSI and GNU Common Lisp Document)</title>
7
8 <meta name="description" content="code-char (ANSI and GNU Common Lisp Document)">
9 <meta name="keywords" content="code-char (ANSI and GNU Common Lisp Document)">
10 <meta name="resource-type" content="document">
11 <meta name="distribution" content="global">
12 <meta name="Generator" content="makeinfo">
13 <link href="index.html" rel="start" title="Top">
14 <link href="Characters-Dictionary.html" rel="up" title="Characters Dictionary">
15 <link href="char_002dcode_002dlimit.html" rel="next" title="char-code-limit">
16 <link href="char_002dint.html" rel="prev" title="char-int">
17 <style type="text/css">
18 <!--
19 a.summary-letter {text-decoration: none}
20 blockquote.indentedblock {margin-right: 0em}
21 div.display {margin-left: 3.2em}
22 div.example {margin-left: 3.2em}
23 div.lisp {margin-left: 3.2em}
24 kbd {font-style: oblique}
25 pre.display {font-family: inherit}
26 pre.format {font-family: inherit}
27 pre.menu-comment {font-family: serif}
28 pre.menu-preformatted {font-family: serif}
29 span.nolinebreak {white-space: nowrap}
30 span.roman {font-family: initial; font-weight: normal}
31 span.sansserif {font-family: sans-serif; font-weight: normal}
32 ul.no-bullet {list-style: none}
33 -->
34 </style>
35
36
37 </head>
38
39 <body lang="en">
40 <span id="code_002dchar"></span><div class="header">
41 <p>
42 Next: <a href="char_002dcode_002dlimit.html" accesskey="n" rel="next">char-code-limit</a>, Previous: <a href="char_002dint.html" accesskey="p" rel="prev">char-int</a>, Up: <a href="Characters-Dictionary.html" accesskey="u" rel="up">Characters Dictionary</a> &nbsp; </p>
43 </div>
44 <hr>
45 <span id="code_002dchar-_005bFunction_005d"></span><h4 class="subsection">13.2.18 code-char [Function]</h4>
46
47 <p><code>code-char</code> <i>code</i> &rArr; <i>char-p</i>
48 </p>
49 <span id="Arguments-and-Values_003a_003a-271"></span><h4 class="subsubheading">Arguments and Values::</h4>
50
51 <p><i>code</i>&mdash;a <i>character code</i>.
52 </p>
53 <p><i>char-p</i>&mdash;a <i>character</i> or <b>nil</b>.
54 </p>
55 <span id="Description_003a_003a-367"></span><h4 class="subsubheading">Description::</h4>
56
57 <p>Returns a <i>character</i> with the <i>code</i> <i>attribute</i> given by <i>code</i>.
58 If no such <i>character</i> exists and one cannot be created, <b>nil</b> is returned.
59 </p>
60 <span id="Examples_003a_003a-255"></span><h4 class="subsubheading">Examples::</h4>
61
62 <div class="example">
63 <pre class="example">(code-char 65.) &rArr; #\A ;in an implementation using ASCII codes
64 (code-char (char-code #\Space)) &rArr; #\Space ;in any implementation
65 </pre></div>
66
67 <span id="Affected-By_003a_003a-62"></span><h4 class="subsubheading">Affected By::</h4>
68
69 <p>The <i>implementation</i>&rsquo;s character encoding.
70 </p>
71 <span id="See-Also_003a_003a-296"></span><h4 class="subsubheading">See Also::</h4>
72
73 <p><a href="char_002dcode.html">char-code</a>
74 </p>
75 <span id="Notes_003a_003a-194"></span><h4 class="subsubheading">Notes::</h4>
76
77
78
79
80 </body>
81 </html>