Scenario 4
function onCompletedExit()
{
// exit the application normally
SetValue( "cmi.exit","" );
// terminate the activity session
Terminate( "" );
}
function onCompletedExit()
{
// exit the application normally
SetValue( "cmi.exit","normal" );
// terminate the activity session
Terminate( "" );
}