Suprisingly, one of the most complex pieces of code is the code to determine where a note is in the staff. Finale stores notes as relative scale positions in the current key.Quote by Robert Patterson about stores