[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: princ-to-string and %str-length
- To: info-macl@cambridge.apple.com
- Subject: Re: princ-to-string and %str-length
- From: Ranson <ranson@lamd01>
- Date: 12 Dec 90 08:04:00
- X400-received: by /PRMD=inria/ADMD=atlas/C=fr/; Relayed; 12 Dec 90 08:05:50+0100
- X400-received: by /PRMD=CNET/ADMD=ATLAS/C=FR/; Relayed; 12 Dec 90 08:04:00
I have noticed the same problem with (format nil...), also when trying to
find a window! As a temporary fix, you can copy-seq your string, and every-
thing will then work. It looks like the strings created by format nil (or
princ-to-string, which is the same thing) are not simple-strings (they have
a fill-pointer, and are usually longer than the "logical" length), and
%str-length expects a simple-string.
lannion.cnet.fr)