Pedro Pessoa <[email protected]> writes:

> Hello,
> I want to init a variable only if it isn't bound. This seems a simple
> matter, I was surpised I couldn't do it.
> The thing is that it throws an 'unbound variable error' with anything I try.
> I imagined something like:
>
> %%% pseudo
> #(define var
>     (not (is-bound? var) 0))
> %%%

var = 0

Does it need to be in Scheme?

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to