src/MuseRecord.cpp
int MuseRecord::getTrack(void) {
	int output = 1;
	string recordInfo = getTrackField();
	if (recordInfo[0] == ' ') {
		output = 0;
	} else {
		output = (int)strtol(recordInfo.c_str(), NULL, 36);
	}
	return output;
}
//////////////////////////////
//
// MuseRecord::getTrack -- Return 0 if no track information (implicitly track 1,
//     or unlabelled higher track).
//
:getTrack -- Return 0 if no track information (implicitly track 1,
or unlabelled higher track).
: getTrack -- Return 0 if no track information ( implicitly track 1 or unlabelled higher track ) .
int MuseRecord::getTrack(void) {
	int output = 1;
	string recordInfo = getTrackField();
	if (recordInfo[0] == ' ') {
		output = 0;
	} else {
		output = (int)strtol(recordInfo.c_str(), NULL, 36);
	}
	return output;
}
int MuseRecord :: getTrack ( void ) { int output = 1 ; string recordInfo = getTrackField ( ) ; if ( recordInfo [ 0 ] == ' ' ) { output = 0 ; } else { output = ( int ) strtol ( recordInfo . c_str ( ) , NULL , 36 ) ; } return output ; }
MuseRecord::getTrack -- Return 0 if no track information (implicitly track 1,
or unlabelled higher track).
MuseRecord :: getTrack -- Return 0 if no track information ( implicitly track 1 or unlabelled higher track ) .