[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
String concatenation in sheme?
From: |
Rick Hansen (aka RickH) |
Subject: |
String concatenation in sheme? |
Date: |
Wed, 15 Nov 2006 12:57:33 -0800 (PST) |
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.
- String concatenation in sheme?,
Rick Hansen (aka RickH) <=