|
From: | Jan-Peter Voigt |
Subject: | Re: is shapeSlur broken? |
Date: | Fri, 27 Apr 2012 11:42:14 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120420 Thunderbird/12.0 |
Hello David,
I would write #(shape-slur offsets) here: there is no need for an immediate Scheme expression here (the point of $ over # is that the syntactical function of the $ expression is determined by its expression type, but here the syntactical function needed is "Scheme" anyway).
thank you!
Variables in musicfunctions now are available by there name without the preceding $. The $-sign now introduces a scheme-expression and returns the result directly ... now here should be more explanation, that I am not able to put in words right now ;-)$some-expression is equivalent to \name if you had written name = #some-expression some times earlier where an assignment is allowed. Actually, whenever name is a valid LilyPond identifier name as well as a valid Scheme identifier name, $name and \name are perfectly equivalent.
Cheers, Jan-Peter
[Prev in Thread] | Current Thread | [Next in Thread] |