lilypond-user
[Top][All Lists]
Advanced

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

Re: Strings as variable names


From: Johan Vromans
Subject: Re: Strings as variable names
Date: Mon, 28 Dec 2015 23:28:04 +0100

On Mon, 28 Dec 2015 21:39:05 +0100 (CET)
Werner LEMBERG <address@hidden> wrote:

> I suggest to use the m4 preprocessor
> [https://en.wikipedia.org/wiki/M4_(computer_language)] to convert,

Yikes. Speaking of overkill...

> say, `violin1' to `violinI'.  Add the line
> 
>   define(`violin1', `violinI')

This will happily change violin12 to violinI2, etc., probably not what you
want.

m4 is not for the faint of the heart.

-- Johan
   http://johan.vromans.org/seasons_greetings.html



reply via email to

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