On 31/05/2012, at 5:06 AM, john skaller wrote:

> I have some code i wrote for flx_pkgconfig that can expand variables.
> However the syntax
> 
> fred = joe
> max = mike/$fred/maul
> 
> is not tenable. A leading delimiter is not enough. A variable "f" would also
> respond here. A better syntax is
> 
> max = mike/${fred}/maul


Should note, that, unfortunately perhaps, Felix itself has
string interpolation using ..

        var x = 1;
        println$ q"x=$(x)";

i.e. Felix Perl-like-interpolation uses $() not ${} .. ;(


--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to