comparison src/data.c @ 110:fe104dbd9147 r20-1b7

Import from CVS: tag r20-1b7
author cvs
date Mon, 13 Aug 2007 09:19:45 +0200
parents 360340f9fd5f
children 25f70ba0133c
comparison
equal deleted inserted replaced
109:e183fc049578 110:fe104dbd9147
395 } 395 }
396 396
397 397
398 DEFUN ("characterp", Fcharacterp, 1, 1, 0, /* 398 DEFUN ("characterp", Fcharacterp, 1, 1, 0, /*
399 t if OBJECT is a character. 399 t if OBJECT is a character.
400 Unlike in FSF Emacs, a character is its own primitive type. 400 Unlike in XEmacs v19 and Emacs, a character is its own primitive type.
401 Any character can be converted into an equivalent integer using 401 Any character can be converted into an equivalent integer using
402 `char-to-int'. To convert the other way, use `int-to-char'; however, 402 `char-to-int'. To convert the other way, use `int-to-char'; however,
403 only some integers can be converted into characters. Such an integer 403 only some integers can be converted into characters. Such an integer
404 is called a `char-to-int'; see `char-int-p'. 404 is called a `char-int'; see `char-int-p'.
405 405
406 Some functions that work on integers (e.g. the comparison functions 406 Some functions that work on integers (e.g. the comparison functions
407 <, <=, =, /=, etc. and the arithmetic functions +, -, *, etc.) 407 <, <=, =, /=, etc. and the arithmetic functions +, -, *, etc.)
408 accept characters and implicitly convert them into integers. In 408 accept characters and implicitly convert them into integers. In
409 general, functions that work on characters also accept char-ints and 409 general, functions that work on characters also accept char-ints and