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, you should use define-void-function. 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 achieve that.


其他语言:deutsch, español, français
About automatic language selection.

LilyPond — Extending v2.21.0 (开发分支).