Question: Check procedure existance

I'm trying to rewrite my initialization routines a bit, and want to find out if there are any other procedures with a certain name that should be called.
However there seems to be a problem with the scope. I'm trying to explain that with a little program.

The question is - why is InitSpecific not found by the InitCommon procedure here?

Module1 := module()

 

``

Module2 := module()

Module1:-InitCommon()

"false"

(1)

Module2:-InitSpecific()

"InitSpecific"

(2)

NULL

Download InitCommon.mw

Please Wait...