On mostAmsMessage DiskPlayer.MediaInfo.Status
{
int firstTrack;
// check whether message was transmitted including FirstTrack of third array element (third media here)
if(mostParamIsAvailable(this, "Data.Record[].FirstTrack", 3))
{
// read FirstTrack from message
firstTrack = mostParamGet(this, "Data.Record[].FirstTrack", 3);
}
else
{
// do error handling, either
// a) Pos did not indicate existence of FirstTrack (only subset transmitted)
// b) TelLen was not sufficient (erroneous message transmission)
// c) Message is no MediaInfo (would only be applicable if ‘On mostAmsMessage’ handler
// were not so specific as in this example, error in implementation of model)
// d) Parameter description was erroneous (error in implementation of model)
// (Hint: Check if an appropriate XML Function Catalog is assigned to the configuration)
}
}