[Top][All Lists]

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

Re: Comment marks

From: David Raleigh Arnold
Subject: Re: Comment marks
Date: Thu, 13 Jan 2005 08:03:46 -0500
User-agent: KMail/1.7.1

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

reply via email to

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