mb_exit

Previous  Next

 

status_t mb_exit( void )

 


 

Terminates the MyBASIC2 environment.  This function will implicitly call mb_dispose to dispose of global memory, structures and constants.  This is controlled exit and the function will return a warning if the the reference count has not reached 0 and the environment can't be disposed of.

 

Example

 

See Sample Application