lilypond-user
[Top][All Lists]
Advanced

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

Re: Defining bar checks in a variable


From: Mike Solomon
Subject: Re: Defining bar checks in a variable
Date: Mon, 14 Oct 2013 17:41:10 +0300

On Oct 14, 2013, at 5:32 PM, David Kastrup <address@hidden> wrote:

> Mike Solomon <address@hidden> writes:
> 
>> Hey all,
>> 
>> Is it possible to do something like this:
>> 
>> <snip>
>> bc = { | }
>> 
>> {
>> a a a a a \bc
>> }
>> </snip>
>> 
>> And have the bar check kick in?
> 
> Well, it is actually rather curious that it doesn't, but that's not
> related to the variable but rather the enclosing { ... }.
> 
> It turns out that
> bc = |
> will do the trick, while
> 
> {
>  a a a a a { | }
> }
> 
> will indeed not.  Huh.

hmm…for a slightly less minimal example, I'm trying to do:

bc = |

foo = { \bc \bar "|" }

{
 a a a a a \foo
}

Any ideas on how to accomplish that?

Cheers,
MS




reply via email to

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