[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to use a variable from outer scope in the success function of a
Re: How to use a variable from outer scope in the success function of a request call?
Sun, 30 Aug 2015 00:24:20 +0200
Pascal J. Bourguignon writes:
> However, without lexical-binding, variables are dynamic.
> lexical = space = where
> dynamic = time = when
> Therefore WHEN this anonymous function is called, it may happen that no
> variable named c exist anymore. Or worse, than another variable named c
> THEN exist that is not the one that existed when your function fn4 was
> In the context of Common Lisp, here is an explaination of
> lexical/dynamic and global/local
> Google also about the FUNARG problem.
I understand the differences now.
Thanks a lot Pascal for your kind explanations.