On 08.08.2009, at 17:30, Tim McNamara wrote:


On Aug 8, 2009, at 8:54 AM, Simon Mackenzie wrote:

Here is my scenario

If I create a variable at the top scope how do I reassign its value in a subsequent scope eg.

aVariable = \markup { \bold bananas }

\book {
        \bookpart {
                \aVariable % "bananas"
                \score {
aVariable = \markup { \bold now \italic { equals this string } % want to be to reassign aVariable a new value so that...
                        \aVariable % "now equals this string"
                }
        }
}

Why do you want to change the value of "\aVariable"? That doesn't make any sense to me.



I think the corollary to this would be, "why not simply define two variables in the beginning?"


James E. Bailey



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to