Magnus Lewis-Smith writes:

> Nearly there.  If I use the 'display' command I get 
>
> Now processing `file.ly'
> Parsing...
> message:  expect errors
>
> file.ly:232:66: error: syntax error, unexpected SCM_T:
>         #(display "message:  expect errors\n" (current-error-port)
>                                                                   )

Sorry, it seems you need 2.3.x for this.  In 2.2.x you can use
embedded scheme only at certain places, probably you can do something like:

   a-#(begin (display "foe") "")

> Incidentally, are there facilities similar to __FILE__ and __LINE__ in C?

No, but that's an interesting idea.

Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org



_______________________________________________
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to