From: Gary King

Subject: Re: Question about scope and let...

Date: 2003-1-28 15:08

Eval evaluates symbols in the global environment, not in the lexical 
environment of the let.

On Tuesday, January 28, 2003, at 03:03 AM, Fabrizio Morbini wrote:

> Hi, why there is this behaviour? > > CL-USER(1): (setq var-test 5) > 5 > CL-USER2: (let ((var-test 4)) var-test (eval 'var-test)) > > 4 > 5 > CL-USER(3): > > Thank you very much and Best Regards. > > Fabrizio. > >
-- Gary Warren King Senior Research Fellow Experimental Knowledge Systems Laboratory Department of Computer Science Computer Science Building Amherst, Massachusetts 01003 413.577.0176 <cs.umass.edu at gwking>