mb_force_exit

Previous  Next

 

status_t mb_force_exit( void )

 


 

This function terminates the MyBASIC2 no matter of the state of the Reference Count.  This is a brute termination compared to the controlled termination using mb_exit.

 

Example

 

// Try controlled termination first

if ( mb_exit() != MB_FUNC_OK )

{

  // Terminate anyways

  mb_force_exit();

}