Initializing and Terminating

Previous  Next

 

Initializing and terminating

 

int mb_init( void );

 

This function must and must only be called once before any other operations with MyBASIC2 to initialize the entire system.

 

int mb_exit( void );

 

This function must and must only be called once after operations with MyBASIC2 to terminate  the entire system.  This function will call mb_dispose to free any memory that has been allocated and then terminate and unload any memory manager that has been deployed.