lilypond-user
[Top][All Lists]
Advanced

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

Re: Conditional runs


From: Karl Hammar
Subject: Re: Conditional runs
Date: Thu, 11 Feb 2010 12:54:42 +0100 (CET)

Reinhold:
> Am Donnerstag, 11. Februar 2010 08:47:42 schrieb Karl Hammar:
...
> > 1, what is the rationale for "lilypond -d xx" to be restricted to just
> >    a certain list of variables?
> If the given flag is not an officially supported one, then lilypond will 
> print 
> out a warning, but the flag is still available, albeit not as a toplevel 
> function but via ly:get-option:
> 
> \version "2.13.0"
> #(if (eqv? #t (ly:get-option 'flag))
>   (display "\n\tYes!\n")
>   (display "\n\tNo!\n")
> )

Great, thanks!

Regards,
/Karl

-----------------------------------------------------------------------
Karl Hammar                    Aspö Data               address@hidden
Lilla Aspö 148                                                 Networks
S-742 94 Östhammar          +46  173 140 57                   Computers
Sweden                     +46  70 511 97 84                 Consulting
-----------------------------------------------------------------------






reply via email to

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