[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot use \layout in a variable
From: |
SoundsFromSound |
Subject: |
Re: Cannot use \layout in a variable |
Date: |
Wed, 11 Jan 2017 05:24:03 -0700 (MST) |
ptoye wrote
> How does the parser know when the variable definition has finished if it
> can be on multiple lines?
Also, this may help you as well, understanding that multiple lines is fine
if you just remember the braces (variables included):
http://lilypond.org/doc/v2.18/Documentation/learning/working-on-input-files
Expressions: every piece of LilyPond input needs to have { curly braces }
placed around the input.
*Whitespace insensitive:* it *does not matter* how many spaces (or tabs or
new lines) you add. ‘{ c4 d e }’ means the same thing as ‘{ c4 d e }’
and:
{ c4 d
e }
Of course, the previous example is hard to read. A good rule of thumb is to
indent code blocks with two spaces:
{
c4 d e
}
-----
composer | sound designer | asmr artist
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Cannot-use-layout-in-a-variable-tp199054p199078.html
Sent from the User mailing list archive at Nabble.com.