lilypond-user
[Top][All Lists]
Advanced

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

Re: Can't refer to variable directly after defining it


From: Dmytro O. Redchuk
Subject: Re: Can't refer to variable directly after defining it
Date: Mon, 24 Apr 2017 15:53:43 +0300

% -- 8< --------------
foo = {c' c' c' c'}
{ \foo }
% -- 8< --------------

--- is ok.


soprano = { \soprano \anotherSoprano }
--- is ok also.

I mean:

% -- 8< --------------
soprano = \lyricmode {
  la -- la -- la
}

refrain = \lyricmode {
  ha -- ha -- ha
}

soprano = { \soprano \refrain }
% -- 8< --------------

--- will also be ok.

2017-04-23 0:50 GMT+03:00  <address@hidden>:
> 4On 04/22/17 23:47, Thomas Morley wrote:
>>
>> The reason for it: The parser needs to check whether there is
>> something else which needs to be added to the definition of 'foo',
>> (most common example for those stuff is 'addlyrics') or, something
>> else makes clear the declaration of 'foo' is complete.
>
>
> Ah, that makes sense. `fff = a''4 \fff` is a bit ambigous.
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user



-- 
  Dmytro O. Redchuk



reply via email to

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