Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Lisp > Scope Question
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 8 Topic 12385 of 13014
Post > Topic >>

Scope Question

by dstein64 <DStein64@[EMAIL PROTECTED] > Apr 29, 2008 at 03:14 PM

Wow, I should really learn more about the scoping rules in Lisp. Any
suggested readings?

Anyhow, here's my current scope question:

Suppose I have a recursive function that is searching for elements in
a tree. How can I store a list such that it is not reset on each
recursive call to the search function?

In general, how can I initialize a variable within a function that
will not be reset on each recursive call to that function? I hope my
question is clear. If not, please let me know. Thanks.
 




 8 Posts in Topic:
Scope Question
dstein64 <DStein64@[EM  2008-04-29 15:14:21 
Re: Scope Question
Brian <quickbasicguru@  2008-04-29 15:26:02 
Re: Scope Question
dstein64 <DStein64@[EM  2008-04-29 15:39:00 
Re: Scope Question
Nathaniel Calloway <nt  2008-04-29 21:27:35 
Re: Scope Question
Paul Donnelly <paul-do  2008-04-29 18:06:02 
Re: Scope Question
Brian <quickbasicguru@  2008-04-29 18:21:53 
Re: Scope Question
Kaz Kylheku <kkylheku@  2008-04-29 19:41:45 
Re: Scope Question
Kaz Kylheku <kkylheku@  2008-04-29 19:52:52 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 9 7:11:15 CDT 2008.