[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
STRING-CHAR-CODE-LIMIT
- To: common-lisp@su-ai
- Subject: STRING-CHAR-CODE-LIMIT
- From: greek@DEC-HUDSON
- Date: Sun, 01 Sep 85 12:49:37 EDT
The definition given for STRING-CHAR-CODE-LIMIT is too simplistic.
In VAX LISP for example, a character can't have bits or font if it
is to be stored into a simple-string.
As Scott says, STRING-CHAR-P exists exactly so that you can find out
if a character is a string-char. You might want to build a table with
an entry for every string-char; then STRING-CHAR-CODE-LIMIT might
be useful. However, you can figure out how big to make the table
using CODE-CHAR.
I guess it would be wrong to assume that STRING-CHAR-CODE-LIMIT =
CHAR-CODE-LIMIT. But I bet that equality holds for every implementation.
- Paul