- Joined
- Aug 7, 2013
- Messages
- 1,338
Hi,
I would like to know if this library would compile / work under my expected behavior.
I would test it myself but both my Windows machines are in repair and I haven't yet been able to compile/syntax check on the mac.
In most code I always see the init function as the last. But I hope it does not matter where it is placed?
I would like to know if this library would compile / work under my expected behavior.
I would test it myself but both my Windows machines are in repair and I haven't yet been able to compile/syntax check on the mac.
JASS:
library myLib initializer init
globals
endglobals
function A …
…
endfunction
function init takes nothing returns nothing
call B()
…
endfunction
function B …
…
endfunction
endlibrary
In most code I always see the init function as the last. But I hope it does not matter where it is placed?