Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > e3d62627d1d1aab7ab1be2dd7f65a872 > files > 248

ecl-10.4.1-1.fc14.x86_64.rpm

<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Chapter&#160;9.&#160;Strings</title><link rel="stylesheet" href="ecl.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The ECL manual"><link rel="up" href="pt01.html" title="Part&#160;I.&#160;Standards"><link rel="prev" href="ch08s02.html" title="8.2.&#160;Specializations"><link rel="next" href="ch10.html" title="Chapter&#160;10.&#160;Hash tables"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter&#160;9.&#160;Strings</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch08s02.html">Prev</a>&#160;</td><th width="60%" align="center">Part&#160;I.&#160;Standards</th><td width="20%" align="right">&#160;<a accesskey="n" href="ch10.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter&#160;9.&#160;Strings"><div class="titlepage"><div><div><h2 class="title"><a name="sec.ansi.strings"></a>Chapter&#160;9.&#160;Strings</h2></div></div></div><p>The <span class="application">ECL</span> implementation of strings is ANSI Common-Lisp
 compliant. There are basically four string types as shown in <a class="xref" href="ch09.html#table.ansi.strings" title="Table&#160;9.1.&#160;Common Lisp string types">Table&#160;9.1</a>. If Unicode support is
 disabled, <span class="type">character</span> and <span class="type">base-character</span> are the
 same type and the last two string types are equivalent to the first
 two.</p><div class="table"><a name="table.ansi.strings"></a><p class="title"><b>Table&#160;9.1.&#160;Common Lisp string types</b></p><div class="table-contents"><table summary="Common Lisp string types" border="1"><colgroup><col><col></colgroup><thead><tr><th>Abbreviation</th><th>Expanded type</th><th>Remarks</th></tr></thead><tbody><tr><td><span class="type">string</span></td><td><span class="type">(array character (*))</span></td><td>8 or 32 bits per character, adjustable.</td></tr><tr><td><span class="type">simple-string</span></td><td><span class="type">(simple-array character (*))</span></td><td>8 or 32 bits per character, not adjustable nor displaced.</td></tr><tr><td><span class="type">base-string</span></td><td><span class="type">(array base-char (*))</span></td><td>8 bits per character, adjustable.</td></tr><tr><td><span class="type">simple-base-string</span></td><td><span class="type">(simple-array base-char (*))</span></td><td>8 bits per character, not adjustable nor displaced.</td></tr></tbody></table></div></div><br class="table-break"><div class="important" title="Important" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Important</h3><p>Currently, strings with unicode characters cannot be printed
  readably.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch08s02.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="pt01.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="ch10.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">8.2.&#160;Specializations&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;Chapter&#160;10.&#160;Hash tables</td></tr></table></div></body></html>