From: ALBINALI4
Subject: scope - live
Date: 
Message-ID: <20020128015810.25009.00000718@mb-cf.aol.com>
Hi,
  How can a variable in LISP be live but not in scope?

Thanks.
Fahd

From: Vladimir Zolotykh
Subject: Re: scope - live
Date: 
Message-ID: <3C550A80.D48BC13E@eurocom.od.ua>
All variables introduced with defconstant, defvar, defparameter
have indefinite scope and indefinite extent. E.g. could be seen
anywhere and are alive while someone could reference it.

Also possible to have variables that could be seen being not in 
scope in the following way

  (let ((*foo* 1))
    (declare (special *foo*))
    (bar))

  (defun bar ()
    (print *foo*))

ALBINALI4 wrote:
> 
> Hi,
>   How can a variable in LISP be live but not in scope?
> 
> Thanks.
> Fahd

-- 
Vladimir Zolotykh                         ······@eurocom.od.ua
From: Rahul Jain
Subject: Re: scope - live
Date: 
Message-ID: <87bsfc4b33.fsf@photino.sid.rice.edu>
·········@aol.com (ALBINALI4) writes:

> Hi,
>   How can a variable in LISP be live but not in scope?


It could be local to a function that isn't the "innermost" on the
execution stack. That is, if you mean a reasonable Lisp like Common
Lisp and not LISP 1.5.

-- 
-> -/-                       - Rahul Jain -                       -\- <-
-> -\- http://linux.rice.edu/~rahul -=-  ············@techie.com  -/- <-
-> -/- "I never could get the hang of Thursdays." - HHGTTG by DNA -\- <-
|--|--------|--------------|----|-------------|------|---------|-----|-|
   Version 11.423.999.221020101.23.50110101.042
   (c)1996-2002, All rights reserved. Disclaimer available upon request.