From: ·······@gmail.com
Subject: exiting a function
Date: 
Message-ID: <1129078787.134180.216200@f14g2000cwb.googlegroups.com>
Hi guys,  I was wondering if there was a function in lisp that I could
call at any point in my function to exit the function?  Or just exit a
dotimes loop?  Thanks.

From: Pascal Bourguignon
Subject: Re: exiting a function
Date: 
Message-ID: <874q7nzfzx.fsf@thalassa.informatimago.com>
·······@gmail.com writes:

> Hi guys,  I was wondering if there was a function in lisp that I could
> call at any point in my function to exit the function?  Or just exit a
> dotimes loop?  Thanks.

I am wondering if you've heard of CLHS?
http://www.lispworks.com/documentation/HyperSpec/Front/index.htm

RETURN-FROM
RETURN

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
The mighty hunter
Returns with gifts of plump birds,
Your foot just squashed one.
From: ·······@gmail.com
Subject: Re: exiting a function
Date: 
Message-ID: <1129124715.864985.16650@g47g2000cwa.googlegroups.com>
Thank you so much, this is what I was looking for but was unable to
find.  Thanks!
From: lin8080
Subject: Re: exiting a function
Date: 
Message-ID: <434D76AB.A8F1FB7F@freenet.de>
·······@gmail.com schrieb:

> Thank you so much, this is what I was looking for but was unable to
> find.  Thanks!


... and sometimes you sit in front of that big CLHS and you know
definitely it is in there but you cannot find it till midnight
arrived...

So how to solve that?

stefan

PS: I'm so sure, you know this situation very well.
From: Tayssir John Gabbour
Subject: Re: exiting a function
Date: 
Message-ID: <1129179814.693451.112230@g47g2000cwa.googlegroups.com>
lin8080 wrote:
> ·······@gmail.com schrieb:
> > Thank you so much, this is what I was looking for but was unable to
> > find.  Thanks!
>
> ... and sometimes you sit in front of that big CLHS and you know
> definitely it is in there but you cannot find it till midnight
> arrived...
>
> So how to solve that?

The easiest little reference is the one in the back of Paul Graham's
_ANSI Common Lisp_. You can leaf through it and it's well organized.

Tayssir
From: Pascal Bourguignon
Subject: Re: exiting a function
Date: 
Message-ID: <87achewagx.fsf@thalassa.informatimago.com>
lin8080 <·······@freenet.de> writes:

> ·······@gmail.com schrieb:
>
>> Thank you so much, this is what I was looking for but was unable to
>> find.  Thanks!
>
>
> ... and sometimes you sit in front of that big CLHS and you know
> definitely it is in there but you cannot find it till midnight
> arrived...
>
> So how to solve that?

Use grep or google!

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

In a World without Walls and Fences, 
who needs Windows and Gates?
From: lin8080
Subject: Re: exiting a function
Date: 
Message-ID: <434EBDDC.498540DA@freenet.de>
Pascal Bourguignon schrieb:
> lin8080 <·······@freenet.de> writes:
> > ·······@gmail.com schrieb:

> >> Thank you so much, this is what I was looking for but was unable to
> >> find.  Thanks!

> > ... and sometimes you sit in front of that big CLHS and you know
> > definitely it is in there but you cannot find it till midnight
> > arrived...

> > So how to solve that?

> Use grep or google!

found this: HyperSpec lookup by symbol (with a browser-plugin (firefox))

http://www.xach.com/clhs

stefan