lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Use functions within functions


From: Noeck
Subject: Use functions within functions
Date: Tue, 08 Jan 2013 12:00:29 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0

Hi,

how can I use a self-defined function with in another one?

I tried the following pseudo-code, but then myfunc is no valid function
name in the scope of the second function.


------ly-file-------------------------------

#(… scheme function definition of function myfunc …)


#(… function-head …
  #{ … lilypond-code … #(myfunc arg)  … #}

------end-ly-file---------------------------


(I have not yet tried putting both functions in one #(…) but I want to
be able to distribute the function definition over different files.)

Cheers,
Joram



reply via email to

[Prev in Thread] Current Thread [Next in Thread]