3.1 Characters
The code attribute is the numerical encoding of the character.
The bits attribute allows you to associate extra flags with a character. The bits attribute is most often used to support character input from extended keyboards that have meta and control keys. The bits attribute is an extension to Common Lisp.
Liquid Common Lisp explicitly names five bits of the bits attributes. These are the :control
,:meta
, :super
, :hyper
, and :mouse
bits. Their weights are integer values corresponding to their bit position, where:control
is the low-order bit and:mouse
is the high-order bit. These weights are defined by the constants char-control-bit
, char-meta-bit
, char-super-bit
, char-hyper-bit
, and char-mouse-bit
.
The font attribute allows you to specify the style of a character's glyph, such as italic. The font attribute is an extension to Common Lisp.
Generated with Harlequin WebMaker