You have forgot to use curly braces to enclose all the things you want
within the same Staff context.
In your first example, the staff created with \new Staff will only
contain the single command
\set Staff.instrumentName ...
Just add another set of curly braces to tell LilyPond what you think
2008/4/19, Stefan Kegel [EMAIL PROTECTED]:
both GrandStaffs are equal, but in the second Staff there is a comment
inserted to \set staff.instrumentname
\version 2.10.33.1
%...first Staff without
comment
\new GrandStaff
\relative
{
both GrandStaffs are equal, but in the second Staff there is a comment
inserted to \set staff.instrumentname
\version 2.10.33.1
%...first Staff without comment
\new GrandStaff
\relative
{
\new Staff
\set Staff.instrumentName = 1. 2.