David Kastrup wrote: > > > You can use > > includeGuitar = ##t > includeConcert = ##f > includeTrumpet = ##t > includeAlto = ##f > > at the top and then do > > $(if includeGuitar GuitarBook) > $(if includeConcert ConcertBook) > $(if includeTrumpet TrumpetBook) > $(if includeAlto AltoBook) > > at the bottom. > > I'm beginning to think I'm terminally dim, but I can't get this to work, and I can't find any reference to $(if...), (nor indeed to any kind of "if ... then ... else") in the Lilypond manuals, despite several hours of hunting. The error message I get is "syntax error, unexpected $undefined". -- View this message in context: http://old.nabble.com/Is-there-an-equivalent-of--define-...--ifndef-...--endif-in-lilypond--tp33346188p33386796.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
- Re: Is there an equivalent of #define ... #ifndef ... #end... David Kastrup
- Re: Is there an equivalent of #define ... #ifndef ... #end... Michael Hendry
- Re: Is there an equivalent of #define ... #ifndef ... #end... David Kastrup
- Re: Is there an equivalent of #define ... #ifndef ... #end... David Kastrup
- Re: Is there an equivalent of #define ... #ifndef ... #end... Michael Hendry
- Re: Is there an equivalent of #define ... #ifndef ... #end... David Kastrup
- Re: Is there an equivalent of #define ... #ifndef ... #end... David Kastrup
- Re: Is there an equivalent of #define ... #ifndef ... #end... Michael Hendry
- Re: Is there an equivalent of #define ... #ifndef ... #end... Graham Percival
- Re: Is there an equivalent of #define ... #ifndef ... #end... David Kastrup
- Re: Is there an equivalent of #define ... #ifndef ... #end... Michael Hendry
- Re: Is there an equivalent of #define ... #ifndef ... #end... David Kastrup
- Re: Is there an equivalent of #define ... #ifndef ... #end... Francisco Vila
- Re: Is there an equivalent of #define ... #ifndef ... #end... Francisco Vila
- Re: Is there an equivalent of #define ... #ifndef ... #end... Michael Hendry
- Re: Is there an equivalent of #define ... #ifndef ... #end... Francisco Vila
- Re: Is there an equivalent of #define ... #ifndef ... #end... Michael Hendry
- Re: Is there an equivalent of #define ... #ifndef ... #end... David Kastrup
- Re: Is there an equivalent of #define ... #ifndef ... #end... Michael Hendry
- Re: Is there an equivalent of #define ... #ifndef ... #end... Phil Holmes
- Re: Is there an equivalent of #define ... #ifndef ... #end... David Kastrup