Hello guys, weird question:
How do i call foo2 with
You can call foo with the following string:
however, you cannot call foo2 this way. The compiler says the function is called "s__st_mo__foo", but that does not work.
Anyone knows what's going on here? The function has to have some name. Thanks!
JASS:
struct st extends array
static method foo takes nothing returns nothing
call BJDebugMsg("foo")
endmethod
implement mo
endstruct
module mo
static method foo2 takes nothing returns nothing
call BJDebugMsg("foo2")
endmethod
endmodule
How do i call foo2 with
JASS:
native ExecuteFunc takes string funcName returns nothing
You can call foo with the following string:
JASS:
call ExecuteFunc("s__st_foo")
however, you cannot call foo2 this way. The compiler says the function is called "s__st_mo__foo", but that does not work.
Anyone knows what's going on here? The function has to have some name. Thanks!