You probably want something like parameters.

You could make a language with dynamic scope if you really wanted it
though. You would capture variable accesses with #%top and friends. Or
you could just redefine binding/setting forms to use
parameters/globals+fluid-let.

Jay

2011/6/22 José Lopes <jose.lo...@ist.utl.pt>:
> Hello,
>
> Is it possible to declare a variable with dynamic scope?
> Or is there a way of implementing this? Possibly using macros?
>
> Regards,
> José
>
> --
> José António Branquinho de Oliveira Lopes
> 58612 - MEIC-A
> jose.lo...@ist.utl.pt
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users
>



-- 
Jay McCarthy <j...@cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay

"The glory of God is Intelligence" - D&C 93

_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to