lilypond-user
[Top][All Lists]
Advanced

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

Re: Scheme: default values?


From: Graham King
Subject: Re: Scheme: default values?
Date: Wed, 12 Feb 2014 07:09:06 +0000

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)

-- Graham
reply via email to

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