[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scheme expressions in \property
From: |
Mats Bengtsson |
Subject: |
Re: scheme expressions in \property |
Date: |
Thu, 15 Aug 2002 15:44:27 +0200 |
>
> In an m4 macro I want to do this:
>
> \property Current.DynamicText
> \set #'extra-offset = #'($1 . (+ 2.5 $2))
>
> ($1 and $2 are m4's macro arguments), but I get the following warning
> message (for $1 = -2 and $2 = 0):
>
> Interpreting music...
> Type check for `extra-offset' failed;
> value `(-2 + 2.5 0)' must be of type `pair of numbers'
>
> Any solution for this problem?
Try
#`($1 . ,(+ 2.5 $2))
note that the quote is a back quote.
/Mats