home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!yeh
- From: yeh@cs.purdue.EDU (Wei Jen Yeh)
- Newsgroups: comp.lang.lisp
- Subject: Re: portable O(1) strlen
- Summary: Solution found.
- Keywords: strlen, format, AKCL
- Message-ID: <19248@ector.cs.purdue.edu>
- Date: 13 Aug 92 07:50:02 GMT
- References: <19247@ector.cs.purdue.edu>
- Sender: news@cs.purdue.EDU
- Organization: Department of Computer Science, Purdue University
- Lines: 15
-
- In article <19247@ector.cs.purdue.edu>, I wrote...
- > Hello,
- > I just found a bug in my program caused by thinking that
- > (array-dimension (format NIL "1234") 0) = 4.
- > ...
- >
- > So, is there a portable O(1) STRLEN?
- >
-
- Thanks. I found the answer --- LENGTH.
-
- Wei Jen Yeh yeh@cs.purdue.edu
- Department of Computer Science
- Purdue University
- West Lafayette, Indiana
-