RETURN_INT_BYE

Previous  Next

 

RETURN_INT_BYE( int-value )

 


 

Returns an INTEGER value with the return status of MB_FUNC_BYE.  This will set the return value of the function as well as signalling the termination of the script.

 

Example

 

/////////////////////////////////////////////////////////////////////////////

//

int _abort( mb_interpreter_t* s, void** l ) //();

  {

  BEGIN_PARSE( s, l )

  END_PARSE

 

  int nRet = g_this->Abort();

 

  RETURN_INT_BYE( nRet );

  }

endfunc