lilypond-user
[Top][All Lists]
Advanced

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

Re: Define variable only if it doesn't exist / is unbound


From: Vaughan McAlley
Subject: Re: Define variable only if it doesn't exist / is unbound
Date: Sat, 30 Mar 2019 22:59:15 +1100

>
> Probably better get used to below:
>
> #(if (not (defined? 'foo)) (ly:parser-define! 'foo 47))
>
> Cheers,
>   Harm
>

Thanks Harm, I gave up on being able to do that long ago.

Vaughan



reply via email to

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