David Sumbler <da...@aeolia.co.uk> writes: > As an experiment, I produced this: > > File: experimentNotes.ly > > \version "2.19.24" > > compileA = > \score { > \new Staff { > a' a' a' a' > } > \layout { } > }
[...] > #(if sectionA #{ \compileA #} ) #... at top level is executed and the result ignored to allow for #(set! ...) and similar expressions with usually unspecified return #codes. Just try $(if sectionA compileA) instead. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user