Hi Doug,

> http://victoriafamilyrobotics.net/vfr1/media/read_line.l

Please allow me to post some minor hints:


When a single character is checked for a number of values like in

   (or (= X ",") (= X ".") (= X "?"))

then I would write instead:

   (sub? X ",.?")


For the modification of a list

   (patch L "," '(" " ","))
   (patch L "." '(" " "."))
   (patch L "?" '(" " "?"))

I would use

   (replace L  "," '(" " ",")  "." '(" " ".")  "?" '(" " "?"))

Note, however, that 'replace' is non-destructive, so you need to use the
returned value in the following expression (or 'setq' it to 'L').

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to