Scenario 1
function saveOtherData()
{
// Set suspend data to important data that cannot be
persisted using
// any other data model element. This data is only recognizable
by this
// SCO. Upon rentry, this data will be parsed and used
appropriately to
// reinitialize the state of the SCO.
SetValue ( "cmi.
", "F4:exit=Q2:reenter=P5M" );
}
function saveOtherData()
{
// Set suspend data to important data that cannot be
persisted using
// any other data model element. This data is only recognizable
by this
// SCO. Upon rentry, this data will be parsed and used
appropriately to
// reinitialize the state of the SCO.
SetValue ( "cmi.suspend_data",
"F4:exit=Q2:reenter=P5M" );
}