Hi all,

I am surprised that \include refuses to accept a string that isn't
passed literally but through a scheme-function:

\version "2.19.43" givePath = #(define-scheme-function ()()   
"some/path/that/will/probably/not/be/found.ily") #(display (givePath))
\include \givePath

I would of course expect this to fail because it doesn't find the file,
but instead I get:

error: wrong or undefined identifier: `givePath'

\include

\givePath

/tmp/frescobaldi-AbipCK/tmpMjey3N/document.ly:9:10 <1>: error:
Unfinished main input

\include

\givePath

some/path/that/will/probably/not/be/found.ily

This value was found in the table: #<Music function #<procedure #f
()>>fatal error: failed files:
"/tmp/frescobaldi-AbipCK/tmpMjey3N/document.ly"

Am I missing something here, is this expected to fail?

Urs

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to