17.05.2015 Views

zl:1 - FTP

zl:1 - FTP

zl:1 - FTP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

char-fat-p· 80<br />

char-fat-p char Function<br />

Returns t if char is a fat character, otherwise nil. char must be a character<br />

object. A character that contains non-zero bits or style information is<br />

called a fat character. See the section "Type Specifiers and Type Hierarchy<br />

for Characters" in Symbolics Common Lisp: Language Concepts.<br />

(char-fat-p #\A) => NIL<br />

(char-fat-p #\c-A) => T<br />

(char-fat-p (make-character #\A :style '(nil :bold nil») => T<br />

I<br />

char-flip case char Function<br />

If char is a lowercase alphabetic character in the standard character set,<br />

char-flip case returns its uppercase form. If char is an uppercase alphabetic<br />

character in the standard character set, char-flip case returns its<br />

lowercase form. Otherwise, it returns char. If character style information<br />

is present it is preserved.<br />

(char-flipcase #\X) => #\x<br />

(char-flipcase #\b) => #\1J<br />

char-font char Function<br />

The contract of char-font is to return the font field of the character object<br />

specified by char. Genera characters do not have a font field so char-font<br />

always returns zero for character objects.<br />

Genera does not support the Common Lisp concept of fonts, but supports<br />

the character style system instead. See the section "Character Styles" in<br />

Symbolics Common Lisp: Language Concepts. To find out the character<br />

style of a character, use si:char-style: See the function si:char-style, page<br />

83.<br />

The only reason to use char-font would be when writing a program intended<br />

to be portable to other Common Lisp systems.<br />

char-font-limit<br />

Constant<br />

The value of char-font-limit is the upper exclusive limit for the value of<br />

values of the font bit. Genera characters do not have a font field so the<br />

value of char-font-limit is 1. Genera does not support the Common Lisp<br />

concept of fonts, but supports the y character style system instead. See the<br />

section "Character Styles" in Symbolics Common Lisp: Language Concepts.<br />

char-greaterp char &rest chars Function<br />

This primitive compares characters for order; many of the string functions<br />

call it. char and chars must be characters; they cannot be integers. The<br />

result is t if char comes after chars ignoring case and style, otherwise nil.<br />

See the section "The Character Set" in Reference Guide to Streams, Files,<br />

and 110. Details of the ordering of characters are in that section.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!