[Omake] Re: Annoying spaces in sequence-to-string conversion
David Kågedal
davidk at lysator.liu.se
Thu Sep 21 00:49:15 PDT 2006
Jason Hickey <jyh at cs.caltech.edu> writes:
> It is very likely that you want to use $"..." instead of $(string
> ...), so here is how I might write your code.
>
> mod = $(addprefix MOD:,test)
> XX = $"""MODNAME="$(mod)"$(EMPTY)"""
If it wasn't for the $(EMPTY) part I might agree... :-)
Is there any difference between $"..." and $(string ...), except that
I apparently need to escape quotation marks in $(string ...)?
--
David Kågedal
More information about the Omake
mailing list