lilypond-user
[Top][All Lists]
Advanced

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

Re: help with Wrong type of argument


From: Jeff Olson
Subject: Re: help with Wrong type of argument
Date: Mon, 1 May 2023 12:35:51 -0600
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1

On 5/1/2023 4:52 AM, Lukas-Fabian Moser wrote:

#`((lineto 0 ,hgt) (closepath))

is the a list with two elements, namely
- the 3-element list containing 'lineto, 0 and the value of the variable hgt
- the 1-element list containing the symbol 'closepath.

This may also be written as:

#(list (list 'lineto 0 hgt) (list 'closepath))

or, mixing the two styles,

#(list (list 'lineto 0 hgt) '(closepath))

Thanks, Lucas.  That helps too!

--
o_ Jeff Olson
 (\___\/_____/)   jjocanoe
~ ~ ~ / ~ ~ ~ ~  @gmail.com




reply via email to

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