Some expert comment please
- From: anders <anders.u.persson@xxxxxxxxx>
- Date: Mon, 30 Jul 2007 11:55:50 -0700
I have write my "first" useful program,
i looks in a catalog för files ending on .tmp
and erase them, could make it on 1 line
with batch, but i like to use LISP.
So i came upp with follow
----------------------------------------------------------
(defvar *content* (directory "*.tmp"))
(dolist (file-name *content*)
(delete-file file-name))
----------------------------------------------------------
Any comment ?
Regarding should/should not,
This is better etc.
Tankfull for en expert comment.
.
- Follow-Ups:
- Re: Some expert comment please
- From: Barry Margolin
- Re: Some expert comment please
- From: Alex Mizrahi
- Re: Some expert comment please
- Prev by Date: Re: Is the following behavior defined by the standard or implementation specific?
- Next by Date: Re: Some expert comment please
- Previous by thread: How Function Create Variables?
- Next by thread: Re: Some expert comment please
- Index(es):
Relevant Pages
|
|