I'm not a Scheme programmer, but how does one concatenate more data onto the
end of an existing variable?  Is there a string concatenation expression in
scheme that will let someone "add onto" the end of a string using subsequent
commands.  For example (below is in a java pseudocode where "+=" means
concatenate to self) how to do same in scheme?

varVoiceMelody = \relative c' { a4 b c
varVoiceMelody += d | e f
varVoiceMelody += g a |
varVoiceMelody += }


So that the final value of varVoiceMelody is left being:

\relative c' { a4 b c d | e f g a | }


I want to write some macros that when stated simply append their output to
variables already existing in my lp templates, these macros hopefully will
simply generate "varVoiceMelody += whatever" expressions to append to the
proper master variables in the lp code.

thanks
Rick


-- 
View this message in context: 
http://www.nabble.com/String-concatenation-in-sheme--tf2638911.html#a7366311
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to