lilypond-user
[Top][All Lists]
Advanced

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

Re: Determine the including file


From: Simon Albrecht
Subject: Re: Determine the including file
Date: Fri, 22 Jan 2016 13:17:49 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

On 22.01.2016 12:38, address@hidden 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



reply via email to

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