lilypond-user
[Top][All Lists]
Advanced

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

Re: Variable names


From: Carl Sorensen
Subject: Re: Variable names
Date: Fri, 13 May 2011 06:19:57 -0600



On 5/13/11 4:32 AM, "Jakub Pavlík" <address@hidden> wrote:

> I have tried to find some description of the valid syntax of LilyPond
> variables and haven't found any. I would like to use variable names with
> numbers and possibly with underscores - is it somehow possible?

Unfortunately, no.

Learning Manual 2.4.1: " The name of a variable must have alphabetic
characters only, no numbers, underscores, or dashes."

Two include numbers, spell them out or use roman numerals:  VoiceII,
verseTwo.

To include multiple words, use camelCase:

aToC

HTH,

Carl





reply via email to

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