lilypond-user
[Top][All Lists]
Advanced

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

Re: Why no numbers allowed in variables?


From: David Kastrup
Subject: Re: Why no numbers allowed in variables?
Date: Tue, 02 Oct 2018 21:45:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Kieren MacMillan <address@hidden> writes:

> Hi Maarten,
>
>> Why are there no numbers allowed in variable names?
>
> \version "2.18.2"
>
> "part1" = { c''4 4 4 4 }
>
> \score {
>   \new Staff \"part1"
> }
>
> As for why you need the quotes… well, I’ll leave the explanation up to
> more knowledgeable people than I.

Is c4 a note or a variable name?  Is \part2 the variable "part" followed
by a half note, or is it the variable "part2"?

It's easy to tell the developers "make it so".  But before you can tell
a compiler to "make it so", you need to have a logically coherent
proposal.

-- 
David Kastrup



reply via email to

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