lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems with learning lilypond


From: James E. Bailey
Subject: Re: problems with learning lilypond
Date: Sat, 8 Aug 2009 18:07:35 +0200


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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]