On Sat, Mar 12, 2011 at 03:00:41PM +0100, David Kastrup wrote:
> David Kastrup <d...@gnu.org> writes:
> 
> > Here is one example where -3 and -13 do totally different things:
> >
> >
> > xxxx=-3
> > yyyy=-13
> > #(display xxxx)
> > #(display yyyy)
> 
> Incidentally: does anybody have a reasonable idea how we want to get
> around this?

completely untested:
  yyyy = -1.0 * 13
?  :)

The serious answer is to add # in front of all numbers; we started
doing this in the docs back in 2007.

> Currently it would appear impossible to assign one-digit negative
> numbers to variables since they are instead interpreted as fingerings.
> 
> That seems like a rather appalling deficiency in the syntax.

Oh, agreed.  I think we should remove the DIGIT stuff.

Cheers,
- Graham

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to