[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: define own variables
From: |
Roland Goretzki |
Subject: |
Re: define own variables |
Date: |
Thu, 29 Mar 2007 22:54:20 +0200 |
User-agent: |
Mutt/1.5.9i |
Hello list, hello Mats,
You wrote:
> You have hit upon a fine detail in the Scheme programming language.
> One solution is to do
> Abstand =
> #(define-music-function (parser location wert)
> (number?)
> #{
> \overrideProperty
> #"Score.NonMusicalPaperColumn"
> #'line-break-system-details
> #`((fixed-alignment-extra-space . ,$wert))
> #})
>
> (note that the quote on the second last line is a back quote). Another
> is to
> write it as
> Abstand =
> #(define-music-function (parser location wert)
> (number?)
> #{
> \overrideProperty
> #"Score.NonMusicalPaperColumn"
> #'line-break-system-details
> #(list (cons 'fixed-alignment-extra-space $wert))
> #})
>
> which is less cryptic if you know some basics of LISP/Scheme.
Many thanks! :-)
I really were not able to find that without help,
but now it is very useful to me.
Best Regards Roland