Gianmaria Lari <[email protected]> writes:

> I'm sorry for the trivial question but why this code is wrong?
>
> \version "2.19.80"
>
> music = {a b}
> \music
>
>
> My understanding was that "\music" is substituted by its value "{a b}"....

You need to put anything in between.  LilyPond looks at \music before
deciding the assignment is complete because the assignment could be

music = {a b} \addlyrics {Oh well}

For that it needs to decide what \music is but the assignment is not yet
complete...

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to