lilypond-user
[Top][All Lists]
Advanced

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

Re: how to define a boolean?


From: Carl Sorensen
Subject: Re: how to define a boolean?
Date: Sat, 8 Aug 2009 13:53:46 -0600



On 8/8/09 11:59 AM, "Marc Hohl" <address@hidden> wrote:

> Mark Polesky schrieb:
>> Marc Hohl wrote:
>> 
>>  
>>> Sorry if this is a stupid question, but here im totally stuck:
>>>    
>> 
>> Not a stupid question. This involves "parser variables" which are
>> giving us developers troubles, too! If you're curious, you can
>> follow this long thread:
>> http://lists.gnu.org/archive/html/lilypond-devel/2009-07/msg00921.html
>> 
>>  
> I followed this thread on -devel, but at some point, it went over my
> head, so
> I didn't read in detail.
>>> I need to define a boolean which is to be changed within a music-function
>>> and a stencil callback.
>>>    
>> 
>> For the music-function you can do this:
>> 
>> % you can also do:
>> % mybool = ##f
>> #(define mybool #f)

Why not just change this to

#(define-public mybool #f)

then  use mybool everywhere else?

Carl





reply via email to

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