lilypond-user
[Top][All Lists]
Advanced

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

RE: Variable names


From: Ed Ardzinski
Subject: RE: Variable names
Date: Fri, 13 May 2011 11:27:05 +0000

I have found that using upper case Roman numerals is helpful, as in
 
gtrI = {e,4 e8 [d]  e,4 e8 [d]}
 
gtrII = {g,4 b,8 [d] f [a] g4}
 
and the is usually create a master part of the numbered fragments
 
grt = { \time 4/4
\clef treble
 
\gtrI
\gtrII }
 
The structured approach keeps my code clean and easy to alter...
 
>  I would like to use variable names with numbers and possibly with underscores - is it somehow possible?
>
> a2c = { a a a } % doesn't work
> a_c = { a a a } % also doesn't work
>
> Thanks,
> Jakub Pavlík

reply via email to

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