[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue 2072 in lilypond: Add proper complex variables to Lilypond
From: |
Ian Hulin |
Subject: |
Re: Issue 2072 in lilypond: Add proper complex variables to Lilypond |
Date: |
Sat, 10 Dec 2011 12:12:28 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 |
Hi David,
On 09/12/11 12:55, address@hidden wrote:
>
> Comment #2 on issue 2072 by address@hidden: Add proper complex
> variables to Lilypond
> http://code.google.com/p/lilypond/issues/detail?id=2072
>
> After thinking about it, assignments are possible only in contexts
> where strings can't occur by themselves. So it should actually be
> possible to use the syntax violin1 = { ... } or less covert
> variants of specifying 1.
>
> Of course, only after having declared violin as an array.
Two questions:
Which problem are we solving here, numbers as valid characters in Lily
identifiers, or providing some sort of arrays/vectors/subscripted
variables facility in Lily?
If it's the latter, how would we "declare violin as an array"?
Maybe
\array violin 2
and access it as
violin[1] = {...}
violin[2] = {...}
Or have you some other convention in mind?
Cheers,
Ian
- Re: Issue 2072 in lilypond: Add proper complex variables to Lilypond, (continued)
- Re: Issue 2072 in lilypond: Add proper complex variables to Lilypond, Werner LEMBERG, 2011/12/03
- Re: Issue 2072 in lilypond: Add proper complex variables to Lilypond, David Kastrup, 2011/12/03
- Re: Issue 2072 in lilypond: Add proper complex variables to Lilypond, Werner LEMBERG, 2011/12/04
- Re: Issue 2072 in lilypond: Add proper complex variables to Lilypond, David Kastrup, 2011/12/04
- Re: Issue 2072 in lilypond: Add proper complex variables to Lilypond, Werner LEMBERG, 2011/12/04
- Re: Issue 2072 in lilypond: Add proper complex variables to Lilypond, David Kastrup, 2011/12/04
- Re: Issue 2072 in lilypond: Add proper complex variables to Lilypond, Werner LEMBERG, 2011/12/04
- Re: Issue 2072 in lilypond: Add proper complex variables to Lilypond, David Kastrup, 2011/12/04
Re: Issue 2072 in lilypond: Add proper complex variables to Lilypond, lilypond, 2011/12/03
Re: Issue 2072 in lilypond: Add proper complex variables to Lilypond, lilypond, 2011/12/09
- Re: Issue 2072 in lilypond: Add proper complex variables to Lilypond,
Ian Hulin <=
Re: Issue 2072 in lilypond: Add proper complex variables to Lilypond, lilypond, 2011/12/12
Re: Issue 2072 in lilypond: Add proper complex variables to Lilypond, lilypond, 2011/12/20