On Thursday 13 January 2005 07:15 am, Gordon Gilbert wrote:
> Is it possible to comment out whole sections of your file?  For example in
> the process of trying something, would it work to comment out a whole
> section of music or chords, or words like this?
>
> %{
> a b c d
> d e f g
> }

Comment marks are this: %{  %}
not this: %{ }

LilyPond ignores the whole thing.  It isn't there.  Of course
a brace within the marks will leave a brace outside
them unmatched.  In your example though, if you typed

% a b c d
% d e f g

you would type two characters instead of four, so unless
you are using slyce and/or sly you would find two main
uses for long comments: to write a long comment at the
beginning or end of your file or to temporarily remove
a large portion as you are doing.  daveA


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

Reply via email to