On 22.01.2016 12:38, k...@aspodata.se wrote:
I don't know of any way to check if aria_ily is defined or not.
Tried with

  #(if (defined? aria_ily) (display "Yes\n") (display "no\n"))

but it gives:

aria.ly:15:2: error: GUILE signaled an error for the expression beginning here
#
  (if (defined? aria_ily) (display "Yes\n") (display "no\n"))
Unbound variable: aria_ily

defined? takes a symbol as argument, so you need to quote aria_ily. #(defined? 'aria_ily) should work.

Best, Simon

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

Reply via email to