project BLF > class Business Component > method MainBlock

Description

This method can be extended with code to execute when a business component is started.
Use it to initialise data items that are not part of the business component state.
(Data items that are part of the business component state should be initialised in InitInstance.)

PreCondition

This method is run when r-code for this component or a descendant component is loaded into memory. It is not to be confused with InitInstance, which is run when an instance is started.


Parameters


oiReturnStatusoutputintegerReturn status of the method.


Internal usage


unused


program code (program1/business.p)