| [ << Scheme tutorial ] | [Top][Contents][Index][ ? ] | [ Interfaces for programmers >> ] | ||
| [ < LilyPond Scheme syntax ] | [ Up : Scheme in LilyPond ] | [ Input variables and Scheme > ] | ||
1.2.2 LilyPond variables
LilyPond variables are stored internally in the form of Scheme variables. Thus,
twelve = 12
is equivalent to
#(define twelve 12)
This means that LilyPond variables are available for use in Scheme expressions. For example, we could use
twentyFour = #(* 2 twelve)
which would result in the number 24 being stored in the
LilyPond (and Scheme) variable twentyFour.
| [ << Scheme tutorial ] | [Top][Contents][Index][ ? ] | [ Interfaces for programmers >> ] | ||
| [ < LilyPond Scheme syntax ] | [ Up : Scheme in LilyPond ] | [ Input variables and Scheme > ] | ||