Dan Eble <[EMAIL PROTECTED]> writes: > These two functions should help.
Thanks! I can use this. > You will either need to define your optional music to be empty when > it is not required, as in this example, or provide a function to > create empty music if it is not already defined. I would be very interested in the latter. > (It's hard to tell from your example what your needs are.) Sometimes, it could be as easy as: \aNotes = { ... } %%From template: \score { #(if (not (defined? bNotes)) (define bNotes aNotes)) \bNotes } except that I cannot get this to work... I'm afraid my lisp skills get in the way of lilyscheme :) -- Johan _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user