macros & packages

From: Delaregue (delaregue_at_netscape.net)
Date: 03/13/04


Date: 13 Mar 2004 13:56:36 -0800

I have a macro and several classes defined in one package, "package1".
This macro makes instances of classes defined in "package1".

When I call package1::macro in a different package, say "package2",
the code in "package2" cannot see the definition of the classes
defined in "package1", resulting in an error.

I am unsure on how to best solve this problem. Should I fully qualify
the classes in the macro code or import the class definition in
"package2"?

Thanks.