chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] I'm confused (again)


From: Thomas Chust
Subject: Re: [Chicken-users] I'm confused (again)
Date: Thu, 26 Feb 2009 22:46:51 +0100

2009-02-26 William Ramsay <address@hidden>:
> [...]
> But it appears that set! itself declares the variable and the let is not
> needed.
> [...]
> And if set! does declare a variable what is it's scope?
> [...]

Hello,

if I'm not mistaken, using set! on a variable that hasn't been
declared is equivalent to declaring it in the top level and using set!
on it.

However, this is not a feature that is portable between different
Scheme implementations.

cu,
Thomas


-- 
When C++ is your hammer, every problem looks like your thumb.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]