Function Call in .onInit and un.oninit
Is there a chance, that both .onInit and un.oninit can call the same function instead of duplicating the function explicitely for un.oninit.
e.g.
Function .onInit
Call MyFunction
FunctionEnd
Function un.onInit
Call MyFunction # problem: needs un.
FunctionEnd
Function MyFunction
# many code lines
FunctionEnd
To solve the problem I don't want to duplicate MyFunction to have un.MyFunction.