Hi all,
I am trying to define a variable on the command line that I can use within the .ly file. I've tried both
-e "(define-public part 1)"
and
In the .ly file, I have a Scheme _expression_
#(if (= part 0)
(define partName "")
(define partName (string-append "S" part))
)
In either case, I get the error
GUILE signaled an error for the _expression_ beginning here
#
(if (= part 0)
Unbound variable: part
I guess I'm either defining the variable incorrectly, or dereferencing it incorrectly within the script. Can someone help?
Thanks,
Dave