victor.kryukov@gmail.com <victor.kryukov@gmail.com> wrote:
+---------------
| Rob Warnock wrote:
| > victor.kryukov@gmail.com <victor.kryukov@gmail.com> wrote:
| > +---------------
| > | My program is structured like this (in lisp pseudo-code):
| > ...
| > | (defun do-nasty-thing (i)
| > | (make-V-array 25,120,127)
| > | ...)
| > +---------------
| >
| > I do hope you're not using commas like this in your actual Lisp code...
|
| Yeah, that was just the *pseudo* code - I like to insert commas to
| improve visibility, otherwise every reader (in human, not lisp sense)
| should count digits himself.
+---------------
Drifting off-topic a bit, but I've occasionally needed to read typed,
cut&pasted, or lines from a file that have such comma-punctuated numbers.
It was always a total pain in the rear until someone pointed out that
(READ-FROM-STRING (REMOVE #\, "25,120,127")) ==> 25120127. Yippee!! ;-}
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607