home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / lisp / 2205 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  932 b 

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!yeh
  2. From: yeh@cs.purdue.EDU (Wei Jen Yeh)
  3. Newsgroups: comp.lang.lisp
  4. Subject: Re: portable O(1) strlen
  5. Summary: Solution found.
  6. Keywords: strlen, format, AKCL
  7. Message-ID: <19248@ector.cs.purdue.edu>
  8. Date: 13 Aug 92 07:50:02 GMT
  9. References: <19247@ector.cs.purdue.edu>
  10. Sender: news@cs.purdue.EDU
  11. Organization: Department of Computer Science, Purdue University
  12. Lines: 15
  13.  
  14. In article <19247@ector.cs.purdue.edu>, I wrote...
  15. > Hello,
  16. >   I just found a bug in my program caused by thinking that
  17. >     (array-dimension (format NIL "1234") 0) = 4.
  18. > ...
  19. > So, is there a portable O(1) STRLEN?
  20.  
  21. Thanks. I found the answer --- LENGTH.
  22.  
  23. Wei Jen Yeh                      yeh@cs.purdue.edu
  24.                                  Department of Computer Science
  25.                                  Purdue University
  26.                                  West Lafayette, Indiana
  27.