Of course!I just attached two files that demonstrate the difference. On Sat, Oct 2, 2021 at 3:30 PM David Kastrup <d...@gnu.org> wrote:
> "Omid Mo'menzadeh" <omid.mnza...@gmail.com> writes: > > > I didn't know about $ at all! Where in the documentation can I find more > > about it? It was hard to search for! > > > > I tried it, but it doesn't seem to find my variable "vocal" defined in > the > > same .ily file. I tried using #(top-repl) and $(top-repl) too, in the # > > version it knows what \vocal is, but in the $ version it doesn't. > > How about a minimal example exhibiting the problem? > > -- > David Kastrup >
\version "2.22.1" vocal = \relative c'' { a4 b c d | } main = #(if (not (defined? 'is-loaded-file)) #{ \score { \vocal } #}) \main
\version "2.22.1" vocal = \relative c'' { a4 b c d | } $(if (not (defined? 'is-loaded-file)) #{ \score { \vocal } #})