[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: When will a #(define ) be executed
From: |
Paul Morris |
Subject: |
Re: When will a #(define ) be executed |
Date: |
Mon, 6 Oct 2014 13:40:32 -0700 (PDT) |
Hi Urs,
I think part of the problem is you haven't actually defined
keepOriginalBreaks as a function/procedure, but just assigned it a value.
See:
https://www.gnu.org/software/guile/manual/guile.html#Lambda-Alternatives
and maybe also:
https://www.gnu.org/software/guile/manual/guile.html#Definition
But I think the following will do what you want in a much simpler way:
\version "2.18.2"
origBreak = {}
% origBreak = \break
\relative c' {
c c c c
\origBreak
\repeat unfold 128 c
}
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/When-will-a-define-be-executed-tp167217p167234.html
Sent from the User mailing list archive at Nabble.com.