User Tools

A PCRE internal error occured. This might be caused by a faulty plugin

====== Function NAME-CHAR ====== ====Syntax==== * **name-char** //name// → //char-p// ====Arguments and Values==== * //name// - a //[[CL:Glossary:string designator]]//. * //char-p// - a //[[CL:Glossary:character]]// or **[[CL:Constant Variables:nil]]**. ====Description==== Returns the //[[CL:Glossary:character]]// //[[CL:Glossary:object]]// whose //[[CL:Glossary:name]]// is //name// (as determined by **[[CL:Functions:string-equal]]** - i.e. lookup is not case sensitive). If such a //[[CL:Glossary:character]]// does not exist, **[[CL:Constant Variables:nil]]** is returned. ====Examples==== <blockquote> (name-char 'space) <r>#\Space</r> (name-char "space") <r>#\Space</r> (name-char "Space") <r>#\Space</r> ([[CL:Special Operators:let]] ((x ([[CL:Functions:char-name]] #\a))) ([[CL:Macros:or]] ([[CL:Functions:not]] x) ([[CL:Functions:eql]] (name-char x) #\a))) <r>//[[CL:Glossary:true]]// </r> </blockquote> ====Affected By==== None. ====Exceptional Situations==== Should signal an error of type type-error if //name// is not a //[[CL:Glossary:string designator]]//. ====See Also==== **[[CL:Functions:char-name|Function CHAR-NAME]]** ====Notes==== None.


[[CLUS:TODO|Do not use this sidebar - nothing is linked here yet.]] [[CLUS:TODO|Click here instead.]] ----- * **[[CLUS:Common Lisp UltraSpec|(*) Common Lisp UltraSpec]]** * [[CLUS:TODO|TODO: E V E R Y T H I N G]] * **[[CL:ANSI Common Lisp|(*) ANSI Common Lisp]]** * [[CL:Introduction]] * [[CL:Syntax]] * [[CL:Evaluation and Compilation]] * [[CL:Types and Classes]] * [[CL:Data and Control Flow]] * [[CL:Iteration]] * [[CL:Objects]] * [[CL:Structures]] * [[CL:Conditions]] * [[CL:Symbols]] * [[CL:Packages]] * [[CL:Numbers]] * [[CL:Characters]] * [[CL:Conses]] * [[CL:Arrays]] * [[CL:Strings]] * [[CL:Sequences]] * [[CL:Hashtables]] * [[CL:Filenames]] * [[CL:Files]] * [[CL:Streams]] * [[CL:Printer]] * [[CL:Reader]] * [[CL:System Construction]] * [[CL:Environment]] * [[CL:Glossary]] * [[CL:Appendix]] * **[[Extensions|(*) Extensions]]** * [[Extensions:MOP]] * [[Extensions:ASDF]] * [[Extensions:UIOP]] * **[[Libraries|(*) Libraries]]** * [[Libraries:Quicklisp]] * **[[Implementations|(*) Implementations]]** * [[Implementations:SBCL]] * [[Implementations:CCL]] * [[Implementations:ECL]] * [[Implementations:ABCL]] * [[Implementations:LW]] * [[Implementations:ACL]] * [[Implementations:CLISP]] * [[Implementations:GCL]] * [[Implementations:JSCL]] * **[[Books|(*) Books]]** * [[Books:PCL|Practical Common Lisp]] * [[Books:CLR|Common Lisp Recipes]] * [[Books:ANSI CL|ANSI Common Lisp]] * [[Books:Gentle|Common Lisp: A Gentle (...)]] * [[Books:OL|On Lisp]] * [[Books:LOL|Let Over Lambda]] * **[[Documents|(*) Documents]]** * **[[Studying Material|(*) Studying Material]]** * **[[Blogs|(*) Blogs]]**