[plt-scheme] How get enviroment
This code seems hopelessly broken, or perhaps designed for use in
another Scheme system.
Maybe you can tell us more about what you're doing or where you got that code?
Robby
On 4/17/07, wwall <wwall at yandex.ru> wrote:
> Hello plt-scheme,
>
> I have code
> (define Z '((append-var moduleScope "x1")
> (append-var globalScope (create-var "???????"))
> (append-var moduleScope (create-var "??4"))
> (append-var globalScope (create-var "??????1")))
> )
> (define globalScope (create-scope "Global" null))
> (let
> ((moduleScope (create-scope "ModuleScope" globalScope)))
> (map (lambda (x)
> (eval x))
> Z)
> )
>
> but on (eval x) i have error - reference to undefined identifier:
> moduleScope
> How I can correct this mistake?
> --
> Best regards,
> wwall mailto:wwall at yandex.ru
>
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>