lilypond-user
[Top][All Lists]
Advanced

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

Re: Scheme: default values?


From: Marc Hohl
Subject: Re: Scheme: default values?
Date: Wed, 12 Feb 2014 20:18:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Am 12.02.2014 08:09, schrieb Graham King:
On Sun, 2014-02-09 at 12:09 +0100, Marc Hohl wrote:

I found another solution somewhere buried in my files:

#(define TACTUS
     (if (defined? TACTUS)
         TACTUS
         50))

Perhaps that's something better suited to your needs?

Marc


Brilliant! Thanks Marc.
Just one minor correction:
     (if (defined? 'TACTUS)
(note the quote before the variable name)

Oops, of course you're right.



-- Graham


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user





reply via email to

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