| [ << Interfaces for programmers ] | [Top][Contents][Index][ ? ] | [ LilyPond Scheme interfaces >> ] | ||
| [ < Functions without arguments ] | [ Up : Music functions ] | [ Markup functions > ] | ||
2.3.7 Void music functions
A music function must return a music expression. If you want to execute
a function only for its side effect, it might make more sense to use a
scheme function instead. But there may be cases where you sometimes
want to produce a music expression, and sometimes not (like in the
previous example). Returning a void music expression via
#{ #} will do that.
| [ << Interfaces for programmers ] | [Top][Contents][Index][ ? ] | [ LilyPond Scheme interfaces >> ] | ||
| [ < Functions without arguments ] | [ Up : Music functions ] | [ Markup functions > ] | ||