KenII Newbie

Joined: 24 Oct 2004 Posts: 4
|
Posted: Tue Oct 11, 2005 12:14 am Post subject: When to add module name and library name before call a sub? |
|
|
Strangely, I add a library to the macro system libraries. It has several modules. And I call a sub in it as
Module1.Sub1(para1,para2)
In most times, it works. But sometimes, it can not. I have to remove the module name and cal it as
Sub1(para1,para2)
And some other code can not work, E.g. If there is a variant with the same name as a sub in this library. It will call the sub but do not treat it as a variant. I do not know why. Some others told me it never happened on their machines. Anyone has the same problem? |
|