Re: How to create local variable within LOOP initially clause?
- From: "Carl Taylor" <carltaylor@xxxxxxx>
- Date: Thu, 01 Nov 2007 00:20:28 GMT
"Slobodan Blazeski" <slobodan.blazeski@xxxxxxxxx> wrote in message news:1193876131.499182.254330@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I've searched the web but I can not find an example of creating a
local variable within loop initially clause. Basically I want to
transfer let form into LOOPs initially or somewher in the middle of
it:
You want the <with> clause.
It's Halloween night here in NYC. Is this trick or treat?
Carl Taylor
CL-USER 1 >
(loop with x = '()
for i in '(1 2 3 4)
do (push i x)
finally (return x))
(4 3 2 1)
.
- Follow-Ups:
- Re: How to create local variable within LOOP initially clause?
- From: Slobodan Blazeski
- Re: How to create local variable within LOOP initially clause?
- References:
- How to create local variable within LOOP initially clause?
- From: Slobodan Blazeski
- How to create local variable within LOOP initially clause?
- Prev by Date: How to create local variable within LOOP initially clause?
- Next by Date: Re: Why push doesn't work with hash-tables?
- Previous by thread: How to create local variable within LOOP initially clause?
- Next by thread: Re: How to create local variable within LOOP initially clause?
- Index(es):
Relevant Pages
|