[plt-scheme] How get enviroment
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