Scenario 4


Your Code

function onCompletedExit()
{
     // exit the application normally
     SetValue( "cmi.exit","" );

     // terminate the activity session
     Terminate( "" );
}


Code Example

function onCompletedExit()
{
     // exit the application normally
     SetValue( "cmi.exit","normal" );

     // terminate the activity session
     Terminate( "" );
}