lilypond-user
[Top][All Lists]
Advanced

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

Fwd: if procedure correction


From: Freeman Gilmore
Subject: Fwd: if procedure correction
Date: Wed, 27 Nov 2019 08:49:48 -0500

---------- Forwarded message ---------
From: Freeman Gilmore <address@hidden>
Date: Wed, Nov 27, 2019 at 8:20 AM
Subject: if procedure
To: Lilypond-User Mailing List <address@hidden>


>From Extending Lilypond:

guile> (define a 3)
guile> (define b 5)
guile> (if (> a b) "a is greater than b" "a is not greater than b")
"a is not greater than b"

Note missing ")".

In Frescobaldi i tried:

\version "2.19.83"
#(define a 3)
#(define b 5)
#(display (if (> a b) "a is greater than b" "a is not greater than b")
"a is not greater than b"))

Correction:
\version "2.19.83"
#(define a 3)
#(define b 5)
#(display (if (> a b) "a is greater than b" "a is not greater than b"
"a is not greater than b"))


What did I do wrong?

Thank you.;
fg



reply via email to

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