mb_terminate

Previous  Next

 

status_t mb_terminate( mb_interpreter_t* s )

 


 

Terminates a script premature, i.e. terminate the script from your host application rather than letting the script end it using END or STOP.

 

Example

 

if ( mb_terminate( bas ) != MB_FUNC_OK )

{

  AfxMessageBox( "Script not Terminated" );

}