putting objects into the module dictionary

C. Derek Fields (derek@gamekeeper.bellcore.com)
Tue, 13 Sep 94 12:08:10 -0400

I have the following code that is supposed to (re)place an object into
the module name space.

object *mod = add_module("foo");

object *d = getmoduledict(mod);
dictinsert(d, "currentScreen", (object *)thisScreen_);

when I call a procedure with:

run_string("foo.bar()", ...);
which runs:
def bar:
print vars()

I don't see currentScreen in the module dictionary.

Thanks for the help.

--
Derek Fields
(derek@cc.bellcore.com)