--- Jan Nieuwenhuizen <[EMAIL PROTECTED]> wrote: > Magnus Lewis-Smith writes:
>
> > Is it possible to write messages to the terminal during the compilation of
> a
> > .ly file? (not the compilation of lilypond itself!)
>
> How about this ;-)
>
> #(display "message: expect errors\n" (current-error-port))
>
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)
)
Interpreting music...
Incidentally, are there facilities similar to __FILE__ and __LINE__ in C?
Thanks
Magnus Lewis-Smith
___________________________________________________________ALL-NEW Yahoo! Messenger -
sooooo many all-new ways to express yourself http://uk.messenger.yahoo.com
_______________________________________________
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user