[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why no numbers allowed in variables?
From: |
Thomas Morley |
Subject: |
Re: Why no numbers allowed in variables? |
Date: |
Tue, 2 Oct 2018 22:31:10 +0200 |
Am Di., 2. Okt. 2018 um 21:57 Uhr schrieb Kieren MacMillan
<address@hidden>:
> If I were developing Lilypond code, I simply wouldn’t allow a note value to
> be post-fixed to a variable, so
>
> \part2
>
> would have only one interpretation (i.e., as the variable "part2"). But
> that’s only because I can’t see a good use case for the alternative.
Well, below is valid code
val = "foo"
<<
\new Staff \repeat unfold 4 c'4
\new Lyrics \lyricmode { \val4 \val2 \val4 }
\new Lyrics \lyricmode { \val4 \val4 \val2 }
>>
Your proposal would make it impossible.
Cheers,
Harm
- Why no numbers allowed in variables?, Maarten Deen, 2018/10/02
- Re: Why no numbers allowed in variables?, David Kastrup, 2018/10/02
- Re: Why no numbers allowed in variables?, Kieren MacMillan, 2018/10/02
- Re: Why no numbers allowed in variables?, David Kastrup, 2018/10/02
- Re: Why no numbers allowed in variables?, Kieren MacMillan, 2018/10/02
- Re: Why no numbers allowed in variables?, David Kastrup, 2018/10/02
- Re: Why no numbers allowed in variables?, Kieren MacMillan, 2018/10/02
- Re: Why no numbers allowed in variables?, David Kastrup, 2018/10/02