src/MuseRecord.cpp
int MuseRecord::getSlurStartColumn(void) {
	int start = 31;
	int stop = getLength() - 1;
	if (stop >= 43) {
		stop = 42;
	}
	int i;
	for (i=start; i<=stop; i++) {
		switch (m_recordString[i]) {
			case '(':   // slur level 1
			case '[':   // slur level 2
			case '{':   // slur level 3
			case 'z':   // slur level 4
				return i+1;  // column is offset from 1
		}
	}

	return -1;
}
//////////////////////////////
//
// MuseRecord::getSlurStartColumn -- search column 32 to 43 for a slur
//    marker.  Returns the first one found from left to right.
//    returns -1 if a slur character was not found.
//
:getSlurStartColumn -- search column 32 to 43 for a slur
marker.  Returns the first one found from left to right.
returns -1 if a slur character was not found.
: getSlurStartColumn -- search column 32 to 43 for a slur marker . Returns the first one found from left to right . returns - 1 if a slur character was not found .
int MuseRecord::getSlurStartColumn(void) {
	int start = 31;
	int stop = getLength() - 1;
	if (stop >= 43) {
		stop = 42;
	}
	int i;
	for (i=start; i<=stop; i++) {
		switch (m_recordString[i]) {
			case '(':   
			case '[':   
			case '{':   
			case 'z':   
				return i+1;  
		}
	}
	return -1;
}
int MuseRecord :: getSlurStartColumn ( void ) { int start = 31 ; int stop = getLength ( ) - 1 ; if ( stop >= 43 ) { stop = 42 ; } int i ; for ( i = start ; i <= stop ; i ++ ) { switch ( m_recordString [ i ] ) { case ' ' : case ' ' : case ' ' : case ' ' : return i + 1 ; } } return -1 ; }
MuseRecord::getSlurStartColumn -- search column 32 to 43 for a slur
marker.
MuseRecord :: getSlurStartColumn -- search column 32 to 43 for a slur marker .
// slur level 1 // slur level 2 // slur level 3 // slur level 4 // column is offset from 1